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

18 lines
361 B
YAML
Raw Normal View History

---
apiVersion: v1
kind: Pod
metadata:
name: csi-rbd-demo-rwop-pod
spec:
containers:
- name: centos
image: quay.io/centos/centos:latest
command: ["/bin/sleep", "infinity"]
volumeDevices:
- name: data
devicePath: /dev/xvda
volumes:
- name: data
persistentVolumeClaim:
claimName: raw-block-rwop-pvc