Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Improved EC2 Spot Instances best practices support in Kubernetes Cluster Autoscaler #14

Open
schmutze opened this issue Jul 17, 2020 · 3 comments

Comments

@schmutze
Copy link
Contributor

We are researching possibilities of improving support for EC2 Spot Instances best practices within Kubernetes Cluster Autoscaler.

We'd love to hear your requirements and feedback as we research this project!

@edlee2121
Copy link

Would like support for launch templates in cluster-autoscaler. In general make it easier to specify multiple sizes/families of instances including spot and on-demand.

This is very important to ensure that spot instances that are terminated due to unavailability are quickly replaced with spot instances of a different size/family or with on-demand instances.

@bruecktech
Copy link

cluster-autoscaler currently does not support fallback to on-demand very well. We have two node groups, one for on-demand and another one for spot. When spot nodes are interrupted and a high spot price prevents the launch of new instances in an ASG it takes up to 15 minutes (default setting) until it marks the spot node group as unhealthy and uses the on-demand node group. The reason is that it handles this on a higher level where it just waits if a new node shows up. It would be better if cluster-autoscaler would be aware that the spot node group currently cannot provide any capacity because of the spot price.

@cep21
Copy link

cep21 commented Feb 16, 2021

Hi,

I think this ticket is very related to this issue: kubernetes/autoscaler#3241

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants