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 Risposte
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
con risposta 10 mesi fa
  • 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
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande