ceph-csi/deploy/cephfs/kubernetes/pod.yaml
2018-03-05 13:21:30 +01:00

18 lines
301 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: web-server
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- mountPath: /var/lib/www/html
name: mypvc
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: cephfs-pvc
readOnly: false