从GCP中删除Kubernetes群集失败

从GCP中删除Kubernetes群集失败,kubernetes,google-cloud-platform,Kubernetes,Google Cloud Platform,我对Kubernetes集群做了一个小设置。几个小时后,我试图删除它。但是,删除云资源是不可能的 我从GCP用户界面尝试: 并通过gcloud: $ gcloud container clusters delete nat-test-cluster The following clusters will be deleted. - [nat-test-cluster] in [europe-west3-c] Do you want to continue (Y/n)? Y ERROR:

我对Kubernetes集群做了一个小设置。几个小时后,我试图删除它。但是,删除云资源是不可能的

我从GCP用户界面尝试:

并通过
gcloud

$ gcloud container clusters delete nat-test-cluster
The following clusters will be deleted.
 - [nat-test-cluster] in [europe-west3-c]

Do you want to continue (Y/n)?  Y

ERROR: (gcloud.container.clusters.delete) Some requests did not succeed:
 - args: [u'ResponseError: code=404, message=Not found: projects/proj/zones/europe-west3-c/clusters/nat-test-cluster.\nCould not find [nat-test-cluster] in [europe-west3-c].\nDid you mean [nat-test-cluster] in [us-central1-a]?']
   exit_code: 1
   message: ResponseError: code=404, message=Not found: projects/dotnet-core-cluster/zones/europe-west3-c/clusters/nat-test-cluster.
Could not find [nat-test-cluster] in [europe-west3-c].
Did you mean [nat-test-cluster] in [us-central1-a]?
这些机器看起来仍在工作,但很容易接近。我不知道还能尝试什么。联系gcp计费支持以停止计费,但他们说我没有技术支持计划,他们也帮不了我。太烦人了,我需要为我无法控制的问题支付支持费用


如何删除此群集?怎么办?

如果我们查看有关删除集群的文档,可以在此处找到:


我们发现它有一个可选的区域参数。创建(或删除)群集时,必须提供分区。如果不提供区域,将使用默认区域(gcloud命令认为)。在您的输出中,我们似乎看到您的gcloud命令认为其默认区域是europe-west3-c,而集群所在的区域似乎是us-central1-a。我相信解决方案是将
--zone us-central1-a
参数添加到您的gcloud命令中。

如果我们查看有关删除集群的文档,可以在此处找到:

我们发现它有一个可选的区域参数。创建(或删除)群集时,必须提供分区。如果不提供区域,将使用默认区域(gcloud命令认为)。在您的输出中,我们似乎看到您的gcloud命令认为其默认区域是europe-west3-c,而集群所在的区域似乎是us-central1-a。我相信解决方案是将
--zone us-central1-a
参数添加到gcloud命令中