mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: add example yamls for RWOP POD and PVC
This commit add example yamls for RBD and CephFS Pod and PVCs RBD: Raw Block Volume and File Mode PVCs with RWOP accessmode Raw Block Volume POD and FileMode POD yamls referring RWOP PVC CephFS: RWOP PVC and POD yaml referring RWOP PVC Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
233ac8f936
commit
8f7016229a
17
examples/rbd/raw-block-pod-rwop.yaml
Normal file
17
examples/rbd/raw-block-pod-rwop.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
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
|
Reference in New Issue
Block a user