++pvc support
This commit is contained in:
parent
eba88a3bd8
commit
f908b9dc4d
2 changed files with 18 additions and 0 deletions
6
rook.md
6
rook.md
|
@ -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
12
rook/pvc.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
|
Loading…
Reference in a new issue