ceph-csi/deploy/rbd/pod.yaml
2018-03-05 13:21:30 +01:00

18 lines
299 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: web-server
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- mountPath: /var/lib/www/html
name: mypvc
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: rbd-pvc
readOnly: false