Uninstall KubeBlocks
Uninstallation order:
Delete your cluster if you have created a cluster.
kubebctl delete cluster <clustername> -n namespace
Uninstall KubeBlocks.
Uninstall KubeBlocks
- Helm
- YAML
Delete all the clusters and resources created before performing the following command, otherwise the uninstallation may not be successful.
helm uninstall kubeblocks --namespace kb-system
Helm does not delete CRD objects. You can delete the ones KubeBlocks created with the following commands:
kubectl get crd -o name | grep kubeblocks.io | xargs kubectl delete
You can generate YAMLs from the KubeBlocks chart and uninstall using kubectl
.
helm template kubeblocks kubeblocks/kubeblocks --namespace kb-system | kubectl delete -f -