Does EKS node group override ASG configuration?

0

I was told that for our EKS instances, that if I update the ASG via "Scheduled actions" that it won't work correctly because the nodes will actually be based on what is configured Node group scaling configuration.

2 Answers
1

Hi, when you create EKS (for example from Terraform), ASG will be automatically created for the node group. So, to change the capacity of EKS nodes you need to change ASG params. If you want it to be done automatically per load, you need to use Cluster Autoscaler: https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler. If you compare node group min, desired, max capacity and ASG min, desired, max capacity, you should see the same values.

profile picture
answered 10 months ago
  • Thanks but found an easier way to modify EKS nodes using Systems manager automation doc "AWS-UpdateEKSManagedNodeGroup" and just modifying the NodeGroupDesiredSize field.

0
profile picture
Manish
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions