GKE 节点池无法扩容
GKE node pool doesn't scale up
我有一个 GKE 集群,当特定部署需要更多资源时,它不会扩展。
我检查了集群自动缩放器日志,它有包含此错误的条目:
no.scale.up.nap.pod.zonal.resources.exceeded
。此错误的 documentation 表示:
Node auto-provisioning did not provision any node group for the Pod in
this zone because doing so would violate resource limits.
我不太明白文档中提到了哪些资源限制以及为什么它会阻止节点池扩展?
如果我手动扩展集群 - 部署 pods 会扩展并且一切都按预期工作,所以,这似乎不是项目配额的问题。
Limits for clusters 您定义的 CPU 和整个集群中使用的内存资源,而不仅仅是自动配置的池。
当您不使用节点自动配置 (NAP) 时,disable node auto provisioning feature for the cluster.
当您使用 NAP 时,update the cluster wide resource 在 NAP 中为群集定义的限制。
通过在工作负载规范中指定 machine type explicitly 来尝试解决方法。确保使用支持 GKE 节点自动配置的机器系列
我有一个 GKE 集群,当特定部署需要更多资源时,它不会扩展。
我检查了集群自动缩放器日志,它有包含此错误的条目:
no.scale.up.nap.pod.zonal.resources.exceeded
。此错误的 documentation 表示:
Node auto-provisioning did not provision any node group for the Pod in this zone because doing so would violate resource limits.
我不太明白文档中提到了哪些资源限制以及为什么它会阻止节点池扩展?
如果我手动扩展集群 - 部署 pods 会扩展并且一切都按预期工作,所以,这似乎不是项目配额的问题。
Limits for clusters 您定义的 CPU 和整个集群中使用的内存资源,而不仅仅是自动配置的池。
当您不使用节点自动配置 (NAP) 时,disable node auto provisioning feature for the cluster.
当您使用 NAP 时,update the cluster wide resource 在 NAP 中为群集定义的限制。
通过在工作负载规范中指定 machine type explicitly 来尝试解决方法。确保使用支持 GKE 节点自动配置的机器系列