-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix PodTopologySpread & NodePort in predicate #3895
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5f7c260
to
0be4606
Compare
// TODO: Currently, preemption is not supported when NodePort filtering fails. | ||
// Once supported, the logic here should be removed. | ||
// See https://github.com/volcano-sh/volcano/issues/3845 | ||
nodePortStatus.Code = api.UnschedulableAndUnresolvable |
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.
Why does a node port not support preemption?
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.
Similar to inter-pod affinity, passing resource comparison during preemption does not guarantee that the pod occupying the node’s port will be preempted.
Signed-off-by: Box Zhang <[email protected]>
0be4606
to
8088d0d
Compare
This is a supplement to #3840