ceph-csi/examples/rbd/pod.yaml

18 lines
315 B
YAML
Raw Normal View History

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