++pvc support

This commit is contained in:
Nico Schottelius 2021-06-07 20:06:39 +02:00
parent eba88a3bd8
commit f908b9dc4d
2 changed files with 18 additions and 0 deletions

View File

@ -27,3 +27,9 @@ done
``` ```
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- bash kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- bash
``` ```
## Creating a sample RBD device / PVC
```
kubectl apply -f pvc.yaml
```

12
rook/pvc.yaml Normal file
View File

@ -0,0 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: rbd-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: rook-ceph-block