How to reduce the EKS node group based on time

0

As a part of cost optimization activity, we need to reduce the (Non-prod) EKS node desired size to zero at non business hours. our env is static, there is no sudden peak usage on application. We don't want to use karpenter for this activity..

2개 답변
2

Hi, You can set the Auto-Scaling Group configuration to adjust the nodes based on the scheduled time. https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html

Steven
답변함 4달 전
1
수락된 답변

EKS managed have their own launch template and autoscaling group, So we can create the scheduled autoscaling group to perform resize the node group at particular time. Need to configure both desired size - 0 and required on the scheduled actions.

Configure event notification with sns for the email notification.

https://repost.aws/knowledge-center/auto-scaling-use-scheduled-actions

https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html

https://ec2spotworkshops.com/running-amazon-ec2-workloads-at-scale/scale_scheduled.html

답변함 4달 전
profile pictureAWS
전문가
검토됨 4달 전

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

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

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

관련 콘텐츠