Files
my-rook-config/deploy/examples/csi/rbd/raw-block-pod.yaml
T
Rakshith R 53e2f8c67f csi: add pvc & pod yamls for block volume mode
This commit adds example yamls for block
volume mode.

Signed-off-by: Rakshith R <rar@redhat.com>
2024-08-07 12:50:50 +05:30

18 lines
362 B
YAML

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