简体   繁体   English

Azure Kube.netes - 自动缩放和节点选择器、污染和容忍?

[英]Azure Kubernetes - Auto-scaling & Nodeselector, Taint and Tolerance?

I have an AKS cluster with the below configuration我有一个具有以下配置的 AKS 集群

  1. Windows Node Pools - 1 Windows 节点池 - 1
  2. Nodes - 2节点 - 2
  3. Node Labels - 2: app1, app2节点标签 - 2:app1、app2
  4. Pods - 4: two pods for each app, node is selected based on the nodeselector Pods - 4:每个app两个pod,节点根据nodeselector选择
  5. Pod uses Taint & Tolerance Pod 使用 Taint & Tolerance
  6. Node auto-scaling is enabled节点自动缩放已启用

Now, lets says if a new node is created to support the additional load of app1.现在,假设是否创建了一个新节点来支持 app1 的额外负载。 would that new node labelled automatically and taint is applied so that app1 can be deployed on that node?该新节点是否会自动标记并应用污点,以便可以在该节点上部署 app1?

When you create a nodepool, you can specify labels and taints (--nodetaints) that would be applied automatically.创建节点池时,您可以指定将自动应用的标签和污点 (--nodetaints)。 Once the nodepool is created, I don't think you can currently go back and add that auto-label or auto-tainting ability.创建节点池后,我认为您目前无法返回 go 并添加自动标记或自动污染功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM