[英]Not able to delete kubernetes cluster in GKE
I'm getting this error when deleting a cluster from GKE.从 GKE 中删除集群时出现此错误。
Google Compute Engine: The subnetwork resource 'projects/abc-cluster-abc/regions/us-east1/subnetworks/sub-network-1' is already being used by 'projects/abc-cluster-abc/zones/us-east1-d/instances/gke-qa-cluster-pool-1-abc-xyz'
Google Compute Engine:子网资源“projects/abc-cluster-abc/regions/us-east1/subnetworks/sub-network-1”已被“projects/abc-cluster-abc/zones/us-east1-使用” d/instances/gke-qa-cluster-pool-1-abc-xyz'
How to delete it?如何删除它? Please help us out.
请帮助我们。
First, you'll need to delete subnetwork “sub-network-1” as it's used by node “gke-qa-cluster-pool-1-abc-xyz”.首先,您需要删除子网“sub-network-1”,因为它被节点“gke-qa-cluster-pool-1-abc-xyz”使用。
Then you'll be able to delete your cluster.然后你就可以删除你的集群了。
Feel free to share any error message to help you further in the comment section.请随意分享任何错误消息,以在评论部分进一步帮助您。
You can delete a GKE cluster by 2 simple ways您可以通过两种简单的方式删除 GKE 集群
1. BY gcloud
2. BY Console
1. 1.
gcloud container clusters delete [CLUSTER_NAME]
--> By choosing the cluster to select your gke cluster and select shutdown to Delete(or)Remove --> 通过选择集群来选择你的gke集群并选择shutdown to Delete(or)Remove
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.