Rook Debugging
kubectl -n rook-ceph-cluster exec -it $(kubectl -n rook-ceph-cluster get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') -- bash
Remove / Move OSD
kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=0
kubectl -n rook-ceph-cluster scale deployment rook-ceph-osd-<ID> --replicas=0
kubectl -n rook-ceph-cluster exec -it $(kubectl -n rook-ceph-cluster get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') -- ceph osd down osd.<ID>
kubectl -n rook-ceph-cluster exec -it $(kubectl -n rook-ceph-cluster get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') -- ceph osd purge <ID> --yes-i-really-mean-it
kubectl delete deployment -n rook-ceph-cluster rook-ceph-osd-<ID>
kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=1
Fix Mgr
kubectl -n rook-ceph-cluster rollout restart deployment/rook-ceph-mgr-a