【发布时间】:2020-06-17 20:55:23
【问题描述】:
我正在尝试创建一个基于单个节点的集群,该节点的机器类型为n2-highcpu-2,位置europe-west3-a。在创建节点时,我收到以下错误消息:
区域配额不足以满足请求:资源“N2_CPUS”: 请求需要'2.0'并且是简短的'2.0'。该项目的配额为 '0.0' 和 '0.0' 可用。查看和管理配额 https://console.cloud.google.com/iam-admin/quotas?usage=USED&project=gordion-project.
我正在通过配额页面请求增加配额(请参阅下面的附录 1)。 后来我总是从谷歌收到以下邮件,我无法增加配额:
你好, 我们试图调整您项目的配额:gordion-project 但是 没有发现任何需要进行的更改。这可能是由于 无法完成部分请求。如果你想 减少您的配额,请回复此消息并支持 代表会尽快与您联系。如果当前值仍然 不足,请提出减少要求的新请求或 额外的理由。要验证当前配额,请导航至 https://console.cloud.google.com/iam-admin/quotas?project=xx-xx .
最好的问候和快乐的计算!
此致,云平台支持
我还能做些什么来创建具有 n2 机器类型的集群?
编辑 1:
编辑 2:
我在 CLI 中运行了命令:gcloud container clusters create "test-cluster-1" --zone "europe-west1-b" --machine-type "n2-highcpu-2"
得到以下输出:
WARNING: In June 2019, node auto-upgrade will be enabled by default for newly created clusters and node pools. To disable it, use the `--no-enable-autoupgrade` flag.
WARNING: Starting in 1.12, new clusters will have basic authentication disabled by default. Basic authentication can be enabled (or disabled) manually using the `--[no-]enable-basic-auth` flag.
WARNING: Starting in 1.12, new clusters will not have a client certificate issued. You can manually enable (or disable) the issuance of the client certificate using the `--[no-]issue-client-certificate` flag.
WARNING: Starting in 1.12, default node pools in new clusters will have their legacy Compute Engine instance metadata endpoints disabled by default. To create a cluster with legacy instance metadata endpoints disabled in the default node pool, run `clusters create` with the flag `--metadata disable-legacy-endpoints=true`.
WARNING: The Pod address range limits the maximum size of the cluster. Please refer to https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr to learn how to optimize IP address allocation.
This will enable the autorepair feature for nodes. Please see https://cloud.google.com/kubernetes-engine/docs/node-auto-repair for more information on node autorepairs.
ERROR: (gcloud.container.clusters.create) ResponseError: code=403, message=Insufficient regional quota to satisfy request: resource "N2_CPUS": request requires '6.0' and is short '6.0'. project has a quota of '0.0' with '0.0' available. View and manage quotas at https://console.cloud.google.com/iam-admin/quotas?usage=USED&project=gordion-project.
【问题讨论】:
-
您是否在该特定区域创建了其他机器?原因可能是您的配额已超出。你有没有尝试在不同的地区创作?您使用的是免费试用帐户还是组织帐户 - 配额可能由组织定义。
-
该区域没有其他机器。没有试用帐户。我有一个与我创建并插入我的信用卡的组织的项目。
标签: google-cloud-platform google-kubernetes-engine