Azure AKS 自动缩放与所属缩放集自动缩放

标签 azure kubernetes azure-aks

在 Azure K8s 服务中,您可以扩展节点池,但只有我们定义最小和最大节点。 当我检查节点池规模集规模设置时,我发现它设置为手动。 因此,我假设节点池自动缩放不依赖于所属的规模集,但我想知道,我们是否可以只依赖具有多个指标角色的规模集自动缩放,而不是非常有限的节点池规模设置?

最佳答案

AKS 自动缩放的工作方式与 VMSS 自动缩放略有不同。

来自official docs :

The cluster autoscaler watches for pods that can't be scheduled on nodes because of resource constraints. The cluster then automatically increases the number of nodes.

AKS 自动缩放器与控制平面和 kube 调度器紧密耦合,因此它考虑了资源请求和限制,这是比 VMSS 自动缩放器(针对 k8s 工作负载)更好的缩放方法,无论如何都不支持 VMSS 自动缩放器阿克斯:

The cluster autoscaler is a Kubernetes component. Although the AKS cluster uses a virtual machine scale set for the nodes, don't manually enable or edit settings for scale set autoscale in the Azure portal or using the Azure CLI.

关于Azure AKS 自动缩放与所属缩放集自动缩放,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70957910/

相关文章:

Azure DevOps 区域 API

kubernetes - minikube隧道引发异常

ssl - 生成和管理 ssl 证书管理器 kubernetes 的简单方法?

Azure 工作负载身份与 Kubernetes 上的 Spark

azure - 如何在 Azure 上扩展 Kubernetes?

azure - Application Insights 每 5 分钟禁用一次 GET 请求

c# - 从文件加载证书文件

kubernetes - kubectl diff 在 AKS 上失败

azure - Azure Webjobs 是否有自己的内存分配?

kubernetes - Kubernetes中的Rancher Metadata/Confd等效项