-
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
[CA] Pod pending with Custom Scheduler request for scaling node #506
Comments
Currently CA doesn't support custom schedulers, scheduler extenders, or any other custom way of scheduling that is not done via scheduler predicates in main kubernetes repository. Setting On the most basic level CA works by simulating how a scheduler would behave if cluster looked differently. This assumes that the scheduler code baked into CA is the same as the one used by scheduler. Depending on what exactly your scheduler does you may be able to get it to work with CA by modifying https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/simulator/predicates.go (perhaps by implementing and injecting your own predicate?) and building your own CA image. |
Hi, Thank for you comment. I will give it a try. Do we have any plan for supporting custom-scheduler feature? |
Not really, at least in the nearest future. There are 2 main issues we would have to solve:
|
Thank, I will close this issue and try your suggestion. I will update back if there has news. |
Define priority by value in testing wrappers
I have written a custom-scheduler in scheduling pod based on node workload.
Repo reference
The "--verify-unschedulable-pods=false" option was removed in #189 , which lead to CA will not scale up with custom-scheduler
IMG reference
Do we have any way to trigger CA (api, etc..)?
The text was updated successfully, but these errors were encountered: