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

18 lines
339 B
YAML
Raw 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:
- mountPath: /var/lib/www/html
name: webroot
volumes:
- name: webroot
persistentVolumeClaim:
claimName: csi-s3-pvc
readOnly: false