EKS Node Scaling with Karpenter

0

I have EKS cluster with two node groups one node group has taint for it's nodes. How karpenter will scale the nodes when it required to scale both nodes? If i add taints on my provisioner does this will add taints for all the scaled nodes because i don't want to add taints for my first node group when it scaled.

Anup
已提問 7 個月前檢視次數 644 次
1 個回答
0

Hi,

Karpenter does not add/removes nodes to a specific nodegroup when it scales up/down the nodes based on the need. Karpenter looks at the provisioner for identifying the right node to be launched and the node specific configuration like labels, taints etc to be added to that specific node. This new node will not be a part of any node group.

Now lets assume you have two pods, one has the toleration and other does not have, then you will have to create two different provisioner, one with taint on the node which the pod tolerates and other without taints. So when the pod with toleration on it will be created node with taint will be created and for other pod, node from other provisioner will be created.

AWS
支援工程師
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南