Destroy the Cluster
This guide will remove all resources created by the documentation in this Deploy on Kubernetes chapter.
Uninstall the GreptimeDB Operator
To uninstall the GreptimeDB Operator using Helm, execute:
helm uninstall greptimedb-operator -n greptimedb-admin
uninstall the GreptimeDB Cluster
For Helm installations of the GreptimeDB cluster, use:
helm uninstall greptimedb -n greptimedb-cluster
If the GreptimeDB cluster was installed with kubectl
, remove it with:
kubectl delete greptimedbcluster greptimedb -n greptimedb-cluster
Uninstall etcd
To remove etcd with Helm, run:
# Uninstall etcd.
helm uninstall etcd -n etcd
Deleting Custom Resource Definitions (CRDs)
kubectl delete crds greptimedbclusters.greptime.io
Cleaning Up Namespaces
Finally, delete the associated namespaces:
kubectl delete namespace greptimedb-admin
kubectl delete namespace etcd
kubectl delete namespace greptimedb-cluster