You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
Uninstall KubeDB
To uninstall KubeDB, run the following command:
Using Helm 3
In Helm 3, release names are scoped to a namespace. So, provide the namespace you used to install the operator when installing.
$ helm uninstall kubedb --namespace kubedb
Helm does not delete CRD objects. You can delete the ones KubeDB created with the following commands:
$ kubectl get crd -o name | grep kubedb.com | xargs kubectl delete
Using YAML (with helm 3)
If you prefer to not use Helm, you can generate YAMLs from KubeDB chart and uninstall using kubectl
.
$ helm template kubedb oci://ghcr.io/appscode-charts/kubedb \
--namespace kubedb | kubectl delete -f -