Stay organized with collections Save and categorize content based on your preferences.
Delete a clusterThis page explains how to delete a node pool, a cluster, and an AzureClient resource.
Warning: Soon after you delete a Google Cloud project, the resources in Azure are permanently deleted. To safeguard against the accidental deletion of a Google Cloud project, use a Project lien. Delete a node poolTo delete a cluster, you must first delete all of its node pools.
ConsoleIn the Google Cloud console, go to the Google Kubernetes Engine clusters overview page.
Select the Google Cloud project that the cluster is in.
In the cluster list, select the name of the cluster, and then select View details in the side panel.
Select the Nodes tab to see a list of all the node pools.
Select a node pool from the list.
Near the top of the window, click delete Delete.
If the delete fails, follow the steps in the gcloud
tab and add the --ignore-errors
flag to the gcloud container azure node-pools delete
command.
Get a list of your node pools:
gcloud container azure node-pools list \
--cluster CLUSTER_NAME \
--location GOOGLE_CLOUD_LOCATION
Replace the following:
CLUSTER_NAME
: the name of the cluster that the node pool is attached toGOOGLE_CLOUD_LOCATION
: the Google Cloud location hosting the node poolFor each of your node pools, delete it with the following command:
gcloud container azure node-pools delete NODE_POOL_NAME \
--cluster CLUSTER_NAME \
--location GOOGLE_CLOUD_LOCATION
Replace the following:
NODE_POOL_NAME
: the name of the node pool to deleteCLUSTER_NAME
GOOGLE_CLOUD_LOCATION
If the command returns an error and the delete fails, you can force the deletion by running the command again with the --ignore-errors
flag. This flag is available in version 1.29 and later.
--ignore-errors
flag to the delete command might result in orphaned Azure resources. If that happens, consult the Azure documentation on how to remove the orphaned resources.During node pool deletion, GKE on Azure performs graceful shut down on each node without honoring PodDisruptionBudget. It takes the following steps:
Before deleting a cluster, make sure that you have deleted all of its node pools.
ConsoleIn the Google Cloud console, go to the Google Kubernetes Engine clusters overview page.
Select the Google Cloud project that the cluster is in.
In the cluster list, select the name of the cluster, and then select View details in the side panel.
Near the top of the window, click delete Delete.
If the delete fails, follow the steps in the gcloud
tab and add the --ignore-errors
flag to the gcloud container azure clusters delete
command.
To delete a cluster, run the following command:
gcloud container azure clusters delete CLUSTER_NAME \
--location GOOGLE_CLOUD_LOCATION
Replace the following:
CLUSTER_NAME
: the name of the cluster to deleteGOOGLE_CLOUD_LOCATION
: the Google Cloud location hosting this cluster
If the command returns an error and the delete fails, you can force the deletion by running the command again with the --ignore-errors
flag. This flag is available in version 1.29 and later.
--ignore-errors
flag to the delete command might result in orphaned Azure resources. If that happens, consult the Azure documentation on how to remove the orphaned resources.You should delete an AzureClient in the following cases:
Note that before deleting an AzureClient, you need to have deleted all the clusters that use the AzureClient.
To delete an AzureClient resource, run the following command:
gcloud container azure clients delete CLIENT_NAME \
--location=GOOGLE_CLOUD_LOCATION
Replace the following:
CLIENT_NAME
: the name of the AzureClient to deleteGOOGLE_CLOUD_LOCATION
: the Google Cloud location where the client is locatedAfter deleting the AzureClient resource, remove the certificate at Azure AD that you uploaded when you created the client.
What's nextgcloud container azure clusters delete
documentation.Except 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-07 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-07 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