【问题标题】:Container Engine is temporarily out of capacityContainer Engine 暂时容量不足
【发布时间】:2017-08-29 16:14:04
【问题描述】:

我需要向我的 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 是我找到但没有答案的唯一报告。

【问题讨论】:

    标签: kubernetes google-compute-engine google-kubernetes-engine


    【解决方案1】:

    Google Container Engine 集群是地区性资源。这意味着它们不能在不可用(停机或容量不足)的区域中创建或增长,就像上面的us-central1-c 一样。

    【讨论】:

    • 如何知道一个区域的可用资源?
    • GCP 没有返回区域中可用资源的 API。您收到的唯一信号是某个区域缺货且无法创建新资源时。
    猜你喜欢
    • 2018-05-13
    • 2016-08-23
    • 1970-01-01
    • 2015-05-30
    • 2018-02-14
    • 1970-01-01
    • 2016-10-10
    • 2017-03-26
    • 2016-06-01
    相关资源
    最近更新 更多