Optimal Approach for Triggering Recreation of all EKS Managed Nodegroups

0

As I plan a recreation for all my EKS nodes, my preference if possible of course is to leverage the capabilities of managed nodegroups to streamline the process. Considering the various methods available, I'm seeking insights on an especially elegant and efficient approach to trigger this recreation.

PS: The goal is to restart all deployments in my EKS production cluster, we have hundreds of deployments and more than 30 nodes.

What strategies or best practices have you found effective in orchestrating a seamless rolling restart using EKS-managed nodegroups?

profile picture
已提問 3 個月前檢視次數 174 次
1 個回答
0

You can leverage the EKS dataplane upgrade mechanism to create a gradual recreation of the node groups. This mechanism has a "Node Group update configuration." that allows you to define the following constraints on the recreation process

Number – Select and specify the number of nodes in your node group that can be updated in parallel. These nodes will be unavailable during update.

Percentage – Select and specify the percentage of nodes in your node group that can be updated in parallel. These nodes will be unavailable during update. This is useful if you have many nodes in your node group.

You can also use pod disruption budgets to maintain pod availability. see https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html https://docs.aws.amazon.com/eks/latest/userguide/managed-node-update-behavior.html https://aws.github.io/aws-eks-best-practices/upgrades/#configure-poddisruptionbudgets-and-topologyspreadconstraints-to-ensure-availability-of-your-workloads-while-the-data-plane-is-upgraded

AWS
dov
已回答 3 個月前

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

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

回答問題指南