Uninstall Neo4j cluster and clean up resources

Uninstall all Neo4j Helm deployments

  1. Uninstall each of the cluster servers and the services using their Helm release names:

    helm uninstall server-1 server-2 server-3 headless
    release "server-1" uninstalled
    release "server-2" uninstalled
    release "server-3" uninstalled
    release "headless" uninstalled

Fully remove all the data and resources

Uninstalling the Helm releases does not remove the created resources and data. Therefore, after uninstalling the helm deployments, you also have to delete all the data and resources.

  1. Delete all persistent volume claims in the neo4j namespace:

    kubectl delete pvc --all --namespace neo4j
  2. Delete the entire Kubernetes cluster in your cloud provider:

    gcloud container clusters delete my-neo4j-gke-cluster
    eksctl delete cluster --name=my-neo4j-eks-cluster
    az aks delete --name my-neo4j-aks-cluster --resource-group <MyResourceGroup>