ceph-csi/deploy/cephfs/kubernetes/pod.yaml

18 lines
305 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: web-server
spec:
containers:
- name: web-server
2018-03-05 11:59:47 +00:00
image: nginx
volumeMounts:
- mountPath: /var/lib/www/html
name: mypvc
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: csi-cephfs-pvc
readOnly: false