k8s-csi-s3/deploy/kubernetes/examples/pod.yaml

18 lines
346 B
YAML
Raw Permalink Normal View History

2018-07-14 08:48:22 +00:00
apiVersion: v1
kind: Pod
metadata:
name: csi-s3-test-nginx
namespace: default
2018-07-14 08:48:22 +00:00
spec:
containers:
- name: csi-s3-test-nginx
image: nginx
volumeMounts:
2021-07-19 12:59:56 +00:00
- mountPath: /usr/share/nginx/html/s3
2018-07-14 08:48:22 +00:00
name: webroot
volumes:
- name: webroot
persistentVolumeClaim:
claimName: csi-s3-pvc
readOnly: false