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 個答案
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
已回答 10 個月前
  • 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
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南