Add pvc tests into rook/
This commit is contained in:
parent
9bdc7b9213
commit
ebf7d51494
2 changed files with 24 additions and 0 deletions
12
rook/pvc-block-rwo.yaml
Normal file
12
rook/pvc-block-rwo.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: rbd-pvc
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: rook-ceph-block
|
12
rook/pvc-cephfs-rwx.yaml
Normal file
12
rook/pvc-cephfs-rwx.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: pvc-multitest-cephfs
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 200Mi
|
||||||
|
storageClassName: rook-cephfs
|
Loading…
Reference in a new issue