-
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 to support custom schedulers' Filter logic #5106
Comments
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 |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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. |
There are 2 options here:
|
/reopen |
@vadasambar: 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. |
/remove-lifecycle rotten |
Looks like I can't re-open the issue. @jdheyburn you might have to re-open the issue. |
/remove-lifecycle rotten |
/reopen |
@jdheyburn: Reopened 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. |
@vadasambar Thanks for picking this up, although I'm not in a position to test it out, I'll look to have a play around with it once it is released |
Which component are you using?:
Cluster autoscaler (CA)
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
When a Pod is being scheduled with a custom scheduler (i.e. non default-scheduler) that uses the Filter API, it can be marked as Unschedulable. When CA polls for unschedulable pods, it uses a different Filter API (I believe the non default-scheduler) to determine whether it can be scheduled on existing nodes (from this block). This difference in logic can cause a pod to be stuck in Pending given that differing logic is used to determine its placement.
Describe the solution you'd like.:
To allow CA to be extended to use the same Filter API as the scheduler used for the Pod that is currently in Unscheduled state, so that it can scale up the node that is required.
Describe any alternative solutions you've considered.:
N/A
Additional context.:
I am doing testing with the placement-policy scheduler plugin for this.
I am also open to any other workaround to allow CA to play nicely with other schedulers, of which I am probably unaware of.
Thanks for taking the time to read this!
The text was updated successfully, but these errors were encountered: