Difference between revisions of "Rook Kubernetes"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
kubectl create -f crds.yaml -f common.yaml -f operator.yaml | kubectl create -f crds.yaml -f common.yaml -f operator.yaml | ||
kubectl create -f cluster.yaml | kubectl create -f cluster.yaml | ||
+ | ``` | ||
+ | |||
+ | # Delete | ||
+ | ``` | ||
+ | kubectl api-resources --verbs=list --namespaced -o name \ | ||
+ | > | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph | ||
+ | |||
+ | |||
+ | kubectl -n rook-ceph patch cephclusters.ceph.rook.io rook-ceph --type merge -p '{"metadata":{"finalizers": [null]}}' | ||
+ | kubectl delete cephcluster.ceph.rook.io/rook-ceph -n rook-ceph | ||
``` | ``` |
Revision as of 21:54, 19 June 2021
- https://github.com/rook/rook/blob/master/Documentation/ceph-quickstart.md#storage
- https://storageos.com/wp-content/uploads/2021/02/Performance-Benchmarking-Cloud-Native-Storage-Solutions-for-Kubernetes.pdf
- https://medium.com/techlogs/kubernetes-pvc-examples-24711e395feb
- https://www.cloudops.com/blog/the-ultimate-rook-and-ceph-survival-guide/
- https://jonathangazeley.com/2020/09/10/building-a-hyperconverged-kubernetes-cluster-with-microk8s-and-ceph/
git clone --single-branch --branch master https://github.com/rook/rook.git cd rook/cluster/examples/kubernetes/ceph kubectl create -f crds.yaml -f common.yaml -f operator.yaml kubectl create -f cluster.yaml
Delete
kubectl api-resources --verbs=list --namespaced -o name \ > | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph kubectl -n rook-ceph patch cephclusters.ceph.rook.io rook-ceph --type merge -p '{"metadata":{"finalizers": [null]}}' kubectl delete cephcluster.ceph.rook.io/rook-ceph -n rook-ceph