Delete jx and the cluster
How to delete the cluster where jx is installed
Use this if you created the kubernetes cluster using the AWS/GCP/Azure terraform module. This will also work, if you installed Jenkins X on an existing AWS EKS cluster.
Always examine the plan of the terraform destroy command before approving it, once destroyed there is no going back.
-
In case of AWS, manually delete the network load balancer (NLB) created by the nginx helm chart from your aws account.
-
If you are using spot io or similar services, then you need to remove those nodes from the cluster.
-
You can now safely run:
terraform destroy
- If you installed jx on minikube/kind/k3s (local installations), refer to the docs of those platforms on how to uninstall the cluster.
- If you imported repositories into Jenkins X using
jx project import
orjx project quickstart
, then you also need to delete the webhooks manually from the repositories.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified December 4, 2021: refactor: add a note about manually deleting webhooks from repositories (d7bdd5bc98)