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
demandé il y a 7 mois644 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions