-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Cluster-autoscaler: AWS EC2 Spot Fleets support #2066
Comments
I would be interested in helping as well, though as mentioned in #1921, the CA needs some sort of logic for choosing a node group which I assume would be a pre-requisite for this. |
Hi @andrewsykim, I've been thinking of how we'd like cluster-autoscaler to select which node pool(asg or spot fleet) to expand for a few days. I've now realized that the current "random" strategy plus "most-pods" and "least-waste" proposed in #2118 would work in most cases, as long as we choose the I'd rather like cluster-autoscaler to not select an autoscaling group which is suspended, or a spot fleet which is losing to bids for all the launch specifications. |
@andrewsykim Thanks for sharing the image. Sure, I'd definitely like to test it! |
@mumoshu How can we move this forward? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/reopen |
@zytek: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I believe this is still relevant to every Kubernetes-on-AWS user who doesn't use a third-party solution like Spotinst. |
/reopen |
@mumoshu: Reopening this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The CA project has been moved to https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler. Could anyone open an another issue that replicates this there? |
@mumoshu It's already opened: kubernetes/autoscaler#838 |
Hi, thanks for developing cluster-autoscaler!
Is this something you'd like to add to cluster-autoscaler?
With spot fleets, we can easily mix various types of spot instances into a single logical group managed by AWS to benefit from reduced infrastructure cost and reduced operational burden including bidding, choosing which type of instance type to bid, increased availability via mixing mutliple spot instance types(assuming it will be rare that we lose to all the bids to all the different spot types at once).
A spot fleet has the notion of "target capacity" where "capacity" means number of units(a.k.a InstanceWeight) required to handle your workload e.g. 1 for r3.2xlarge, 4 for r3.8xlarge.
Basically I guess we can treat 1 target capacity = 1 instance weight as unit of autoscaling in cluster-autoscaler so that we can reuse a lot of current codebase to support spot fleets.
I'm both interested in using it and if necessary implementing it.
If you have any comments, advices, questions, etc., please let me know!
The text was updated successfully, but these errors were encountered: