-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cluster-autoscaler] Additional expander options #4206
Comments
|
Thanks @x13n |
I'm happy to review the change, but you'll still need a repo owner to approve. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
This was done in #4233 /close |
@x13n: Closing 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. |
@x13n which versions of CA have this code? I think there is a bigger question here on backporting vs recommending newer CA builds for supported K8s versions, does this need a separate issue opening? |
None yet, it will be a part of 1.23 release. I think backporting should mostly be limited to bug fixes, not new features like this one, but if you disagree then yes, a separate issue sounds like a good starting point. |
Users are able to specify the
expander
option to change which nodegroup (e.g. ASG) is selected when there are multiple that satisfy the scheduling requirements for a pod. The feature request is to allow selecting an additional expanders in the event that the chosen expander still arbitrarily ties multiple nodegroups. This is very similar to this closed ticket #2564.For our specific use case, we are currently using the
least-waste
expander, but we want to have some nodegroups which are preferred. What we would then like is to use thepriority
expander but fall back toleast-waste
when multiple still match.I see several ways this feature could be added, in my order of preference
list
of expanders to use, with some validation of course very similar to what @adrienjt mentions here. Satisfying my above use case would look like settingexpander=priority,least-waste
.priority-expander
option, specifically only used in the case whereexpander=priority
. Satisfying the above use case would look like settingexpander=priority
andpriority-expander=least-waste
I think the first option is cleaner / easier to understand but is perhaps more complicated to implement. I'd be happy to submit a PR for this but wanted to get any feedback first, thanks!
cc @Jeffwan @bpineau @adrienjt
The text was updated successfully, but these errors were encountered: