1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2024-12-20 20:10:22 +00:00
ceph-csi/examples/cephfs/pod.yaml

18 lines
321 B
YAML
Raw Normal View History

---
2018-07-18 14:49:15 +00:00
apiVersion: v1
kind: Pod
metadata:
name: csi-cephfs-demo-pod
2018-07-18 14:49:15 +00:00
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- name: mypvc
mountPath: /var/lib/www
2018-07-18 14:49:15 +00:00
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: csi-cephfs-pvc
readOnly: false