aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.21k stars 317 forks source link

[EKS] [request]: Managed Node Group support for ASG warm pools #1387

Open bnutt opened 3 years ago

bnutt commented 3 years ago

Community Note

Tell us about your request What do you want us to build?

AWS recently added support for ASG warm pools https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html. It would be useful, as part of provisioning a managed node group, to have the ability to also create a warm pool of EC2 instances. Ideally we can:

  1. Choose to have them in a stopped or start state
  2. Control the max prepared capacity flag, or have it fall back to max capacity.
  3. Cluster Autoscaler can be modified to start stopped instances part of the node group instead of having to wait for new ones to be provisioned.

Which service(s) is this request for? EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

This would make it easier for users to control the ready capacity of worker nodes in their cluster so they can quickly launch new pods as demand for resources in the cluster scales up and down.

Are you currently working around this issue? How are you currently solving this problem? Implemented https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-can-i-configure-overprovisioning-with-cluster-autoscaler.

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Neudrino commented 2 years ago

AWS support references this issue, when asked for "warm pool" support on EKS clusters.

Next to this issue I found a blog post saying a workaround would be available. I did not assess the blog post further so far.

However, I proper solution without workarounds is prefered, of course.