Stay organized with collections Save and categorize content based on your preferences.
This page explains how to delete a Google Kubernetes Engine (GKE) cluster.
When you delete a cluster, GKE deletes the following resources:
hostPath
and emptyDir
volumesReview how GKE handles the following resources during cluster deletion:
type: LoadBalancer
), we recommend that you delete the Services before deleting your cluster. For clusters with hundreds of Services or more, GKE might not delete all load balancer resources upon cluster deletion.Before you start, make sure that you have performed the following tasks:
gcloud components update
. Note: For existing gcloud CLI installations, make sure to set the compute/region
property. If you use primarily zonal clusters, set the compute/zone
instead. By setting a default location, you can avoid errors in the gcloud CLI like the following: One of [--zone, --region] must be supplied: Please specify location
. You might need to specify the location in certain commands if the location of your cluster differs from the default that you set.To delete a cluster using the Google Cloud CLI, run the following command:
gcloud container clusters delete CLUSTER_NAME
Replace CLUSTER_NAME
with the name of the cluster that you want to delete.
For more information, refer to the gcloud container clusters delete
documentation.
To delete a cluster using the Google Cloud console, perform the following steps:
Go to the Google Kubernetes Engine page in the Google Cloud console.
Next to the cluster you want to delete, click more_vert Actions, then click delete Delete.
When prompted to confirm, click Delete again.
To delete multiple clusters at once, select them and click delete Delete. When prompted to confirm, click Delete again.
What's nextExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4