0

我需要添加一个新的游泳池到我的K8S集群的,但我得到了错误(gcloud.container.node-pools.create) ResponseError: code=503, message=Container Engine is temporarily out of capacity in us-central1-c. Please try a different zone or try again later.集装箱引擎暂时缺货能力

如果我试图在另一个区域创建,像us-central1-b,失败了,因为我的K8S上us-central1-c

gcloud container node-pools create redis-pool \ 
    --cluster=my-kube-cluster \ 
    --image-type=COS \ 
    --machine-type=n1-highmem-2 \ 
    --node-labels=pool=redis \ 
    --zone=us-central1-c \ 
    --project=my-project-id \ 
    --num-nodes=1 

如何解决? 此消息https://groups.google.com/forum/#!topic/gce-discussion/PAtGqxUiE0o是我发现的唯一报告,但没有答案。

回答

2

Google Container Engine集群是区域资源。这意味着它们不能在不可用区域(容量不足或容量不足)中创建或增长,如上面的us-central1-c所示。

+0

如何知道区域中的可用资源? – Robinho

+0

GCP没有将返回区域中可用资源的API。你得到的唯一信号是当一个区域已经耗尽并且不能创建新的资源时。 –