-
Notifications
You must be signed in to change notification settings - Fork 187
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
Allow user to set MinInstanceTypesForSpotToSpotConsolidation #1645
Comments
This issue is currently awaiting triage. If Karpenter contributors determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
The reason we opted to not make this user-configurable is covered in the Original Spot to Spot Consolidation design but the essence of it is that if you make this number too small, you can race to the bottom and get constantly interrupted. Setting this value to a low value effectively reduces selecting spot instances down to selecting the cheapest spot instance -- which we're a bit weary of since it might cause a lot of application workload disruption. |
I'm hesitant to say that we will accept this -- given the implications. What's your use-case for wanting to change this value and what value do you want to set this to? |
Since I have some workloads which are The default value is good for users to know the potential risks, but it is also makes sense to give users the |
Description
What problem are you trying to solve?
At present, the
MinInstanceTypesForSpotToSpotConsolidation
is hard coded with 15. But sometime the users want the consolidation works enven the candidate spot instance types just one.karpenter/pkg/controllers/disruption/consolidation.go
Line 47 in 140d35b
How important is this feature to you?
I'm building an new provider, I think the
karpenter core
should give users more options when they want thespot-to-spot
feature.The text was updated successfully, but these errors were encountered: