Deleting a Container Cluster

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 hostPath and emptyDir volumes

The following resources are not deleted:

Deleting a cluster

Console

To delete a container cluster using the GCP Console:

  1. Visit GCP Console.
    GCP Console
  2. Select the checkbox next to the cluster to be deleted.
  3. Click Delete. When prompted to confirm, click Delete again.

gcloud

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 documentation.

What's next

Send feedback about...

Kubernetes Engine