diff --git a/Documentation/Storage-Configuration/ceph-teardown.md b/Documentation/Storage-Configuration/ceph-teardown.md index 70c216147..39bd60669 100644 --- a/Documentation/Storage-Configuration/ceph-teardown.md +++ b/Documentation/Storage-Configuration/ceph-teardown.md @@ -75,6 +75,19 @@ kubectl delete storageclass csi-cephfs The cleanup jobs might not start if the resources created on top of Rook Cluster are not deleted completely. See [deleting block and file artifacts](#delete-the-block-and-file-artifacts) +### Delete the CSI Operator Resources + +These commands clean up the CSI operator resources. + +```console +kubectl -n rook-ceph delete operatorconfigs.csi.ceph.io --all +kubectl -n rook-ceph delete drivers.csi.ceph.io --all +kubectl -n rook-ceph delete clientprofiles.csi.ceph.io --all +kubectl -n rook-ceph delete clientprofilemappings.csi.ceph.io --all +kubectl -n rook-ceph delete cephconnections.csi.ceph.io --all +kubectl delete -f csi-operator.yaml +``` + ### Delete the Operator Resources Remove the Rook operator, RBAC, and CRDs, and the `rook-ceph` namespace.