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 Respostas
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
respondido há 4 meses
1
Resposta aceita

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

respondido há 4 meses
profile pictureAWS
ESPECIALISTA
avaliado há 4 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas