mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
7f993707ca
update example rbd PVC from ReadWriteMany to ReadWriteOnce as rbd supports ReadWriteMany only if pvc mode is block Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
17 lines
303 B
YAML
17 lines
303 B
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: rbd-pvc-restore
|
|
spec:
|
|
storageClassName: csi-rbd-sc
|
|
dataSource:
|
|
name: rbd-pvc-snapshot
|
|
kind: VolumeSnapshot
|
|
apiGroup: snapshot.storage.k8s.io
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|