Skip to content

Commit 0b25916

Browse files
committed
Add commands to storage
1 parent 2a0931e commit 0b25916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/sytem-administration/storage.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=0
1313

1414
kubectl -n rook-ceph-cluster scale deployment rook-ceph-osd-<ID> --replicas=0
1515
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>
16+
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
17+
kubectl delete deployment -n rook-ceph-cluster rook-ceph-osd-<ID>
1618

1719
kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=1
1820

0 commit comments

Comments
 (0)