Uninstall KubeDB Enterprise Edition

To uninstall KubeDB Enterprise edition, 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-enterprise --namespace kube-system
$ helm uninstall kubedb-autoscaler --namespace kube-system
$ helm uninstall kubedb-community  --namespace kube-system

Using Helm 2

$ helm delete kubedb-enterprise --namespace kube-system
$ helm delete kubedb-autoscaler --namespace kube-system
$ helm delete kubedb-community  --namespace kube-system

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-enterprise appscode/kubedb-enterprise --namespace kube-system | kubectl delete -f -
$ helm template kubedb-autoscaler appscode/kubedb-autoscaler --namespace kube-system | kubectl delete -f -
$ helm template kubedb-community  appscode/kubedb-community  --namespace kube-system | kubectl delete -f -