Uninstalling OpenEBS
The recommended steps to uninstall the OpenEBS cluster gracefully is as follows.
Delete all the OpenEBS PVCs that were created. You can check the status of PVC using the following command.
There should not have any entries of OpenEBS PVC.
-
There should not have any entries of OpenEBS SPC.
Ensure that no OpenEBS volume or pool pods are in terminating state . You can check the running status of Pods using the following command.
Delete the OpenEBS namespace either via
helm delete <chart name> --purge
orkubectl delete ns openebs
or you can delete the corresponding YAML usingkubectl delete -f <openebs-operator.yaml>
. You can check the status of OpenEBS namespace using the following command.kubectl get ns
As part of deleting the Jiva Volumes - OpenEBS launches scrub jobs for clearing the data from the nodes. This job will be running in OpenEBS installed namespace. The completed jobs need to be cleared using the following command.