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 Respuestas
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 hace 4 meses
1
Respuesta aceptada

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 hace 4 meses
profile pictureAWS
EXPERTO
revisado hace 4 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas