...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
$ kubectl -n rook-ceph delete cephcluster rook-ceph # Verify that the cluster CRD has been deleted before continuing to the next step(kubectl -n rook-ceph get cephcluster), before continuing. # Remember that the path of the following files is "rook/cluster/examples/kubernetes/ceph". $ kubectl delete -f operator.yaml $ kubectl delete -f common.yaml $ kubectl delete -f crds.yaml |
At this point connect to each machine and delete /var/lib/rook, or the path specified by the dataDirHostPath. If the cleanup instructions are not executed in the order above, or you otherwise have difficulty cleaning up the cluster, here are a few things to try.