mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 16:50:23 +00:00
8f7016229a
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>
18 lines
361 B
YAML
18 lines
361 B
YAML
---
|
|
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
|