This page explains how to delete a Kubernetes Engine container cluster.
About deleting clusters
When you delete a cluster, the following resources are deleted:
- The master resources
- All of the node instances in the cluster
- Any Pods that are running on those instances
- Any firewalls and routes created by Kubernetes Engine at the time of cluster creation
- Data stored in host
The following resources are not deleted:
Deleting a cluster
To delete a container cluster using the GCP Console:
- Visit GCP Console.
- Select the checkbox next to the cluster to be deleted.
- Click Delete. When prompted to confirm, click Delete again.
To delete a container cluster using the
gcloud command-line tool, run
the following command in your shell or terminal window:
gcloud container clusters delete [CLUSTER_NAME] [--zone [COMPUTE_ZONE]]
For more information, refer to the
gcloud container clusters delete