ceph-csi/examples/rbd/pod-rwop.yaml

18 lines
354 B
YAML
Raw Normal View History

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