ungleich-k8s/rook.md

36 lines
703 B
Markdown
Raw Normal View History

2021-06-07 17:24:20 +00:00
## v1: original rook manifests
2021-06-04 16:33:52 +00:00
```
git clone https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/ceph
kubectl apply -f crds.yaml -f common.yaml
kubectl apply -f operator.yaml
kubectl get -n rook-ceph pods --watch
2021-06-06 14:42:35 +00:00
kubectl apply -f cluster.yaml
kubectl apply -f csi/rbd/storageclass.yaml
kubectl apply -f toolbox.yaml
2021-06-04 16:33:52 +00:00
```
2021-06-07 17:24:20 +00:00
## v2 with included manifests
* Patched for IPv6 support
* Including RBD
```
for yaml in crds common operator cluster storageclass toolbox; do
kubectl apply -f ${yaml}.yaml
done
```
## Debugging / ceph toolbox
```
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- bash
```
2021-06-07 18:06:39 +00:00
## Creating a sample RBD device / PVC
```
kubectl apply -f pvc.yaml
```