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

18 lines
356 B
YAML
Raw Normal View History

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