1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2024-12-28 16:00:22 +00:00
ceph-csi/examples/nfs/pod.yaml

18 lines
348 B
YAML
Raw Normal View History

---
apiVersion: v1
kind: Pod
metadata:
name: cephcsi-nfs-demo-pod
spec:
containers:
- name: web-server
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: cephcsi-nfs-pvc
readOnly: false