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?

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠