doc: add CSI operator resource cleanup steps to teardown guide
Add a section to the teardown documentation with cleanup commands for CSI operator resources: OperatorConfig, Driver, ClientProfile, ClientProfileMapping, and CephConnection custom resources, plus the csi-operator.yaml deployment manifest. Signed-off-by: Lumir Sliva <61183145+lumir-sliva@users.noreply.github.com>
This commit is contained in:
1 parent
a4316348cc
commit
943ea89cd5
1 file changed
+13
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user