4 Removing the Rook Module

You can remove a deployment of the Rook module and leave the Kubernetes cluster in place. To do this, you remove the Rook module from the environment.

If you used a Rook configuration file to deploy the Rook module, any Ceph configuration in that file is also removed, including Ceph clusters, storage, and StorageClasses. If you manually set up Ceph using the kubectl command with CRD files, that Ceph setup remains in place. Remove these manually before removing the Rook module.

Use the olcnectl module uninstall command to remove the Rook module. For example, to uninstall the Rook module named myrook in the environment named myenvironment:

olcnectl module uninstall \
--environment-name myenvironment \
--name myrook

The Rook module is removed from the environment.