-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Error out when Scheduler PreBind plugins return Unschedulable #82187
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check is also not necessary.
kubernetes/pkg/scheduler/scheduler.go
Line 638 in 11678fb
if preBindStatus.IsUnschedulable() { |
And same for permit plugins?
https://github.com/kubernetes/kubernetes/pull/80416/files#r312374563
/hold batches including this PR are flaking badly on scheduler integration tests:
please review closely to ensure this is not introducing a regression |
thanks for checking, see also investigation in #82209 (comment) which seemed to point to #82222 |
/hold |
…le status, which should not according to the KEP and comments.
/hold cancel |
/lgtm |
/retest |
/test pull-kubernetes-kubemark-e2e-gce-big |
/test pull-kubernetes-e2e-gce-100-performance |
/test pull-kubernetes-node-e2e |
that test job failure is pervasive - fix in kubernetes/test-infra#14291 |
/retest Review the full test history for this PR. Silence the bot with an |
Scheduler PreBind plugins are currently allowed to return Unschedulable status, which should not according to the KEP and comments.
What type of PR is this?
/kind bug