eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

Support waiting for a `scale nodegroup` operation to complete

Open cPu1 opened this issue 1 year ago • 2 comments

eksctl supports a scale nodegroup command but the command returns immediately after it has modified the ASG with the new desired size. A --wait flag will allow users to wait for the scaling operation to either complete or fail, and monitor any issues related to the scaling. Additionally, a --timeout option should also be added to control the maximum duration the command should wait.

This will also help catch errors like https://github.com/weaveworks/eksctl/issues/6319.

cPu1 avatar Mar 08 '23 09:03 cPu1

related to #5385

Himangini avatar Mar 14 '23 13:03 Himangini

Part of this feature was completed with https://github.com/weaveworks/eksctl/pull/6406. As of now, we have added the wait flag to the command and it has an effect only when scaling up. I.e. waiting for the new nodes to join the cluster.

For now, if scaling down, we log a warning that the flag has no effect. To close this issue, we need to consider what we want to wait on when scaling down (if anything), and open a separate PR for that piece of functionality. Moving back this ticket in refinement to discuss the above.

TiberiuGC avatar Apr 06 '23 07:04 TiberiuGC