-
Notifications
You must be signed in to change notification settings - Fork 40.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
noderesourcefit: scheduler queueing hints #119177
Conversation
This issue is currently awaiting triage. If a SIG or subproject 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/test-infra repository. |
53ff8bf
to
81392a2
Compare
/assign @sanposhiho |
/test pull-kubernetes-unit |
/test pull-kubernetes-node-e2e-containerd |
b159658
to
23c8576
Compare
23c8576
to
5055d81
Compare
/test pull-kubernetes-integration |
5055d81
to
3d0f685
Compare
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.
/lgtm
LGTM label has been added. Git tree hash: 4fd410054837940f4f8d272fc4e2abd3f994f21a
|
Sorry for the delayed reply, fair, we should not rely on the wrong assumption. |
/release-note-edit
|
return framework.Queue, err | ||
} | ||
|
||
var isFitFunc = func(pod *v1.Pod, node *v1.Node) bool { |
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 are you putting this logic inside a function that is used once?
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.
the func was also used to check the origin node in previous comments. we have to drop the logic because of the preCheck on node. please see #119177 (comment) for more context.
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.
unfold the function down below or have it as a separate function, instead of an anonymous function.
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.
updated.
Co-authored-by: Kensei Nakada <[email protected]>
7f0bb5a
to
9e1adce
Compare
/hold @sanposhiho do any of the problems found for the other scheduler plugins affect this as well? |
noderesourcefit is impacted by the bug, but we properly handle the scenario: #119177 (comment) Although it's better to have an integration test to make sure this QHint working appropriately, as part of #122305, IMO it can be followed up. |
/hold cancel |
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.
/lgtm
Leave approval for @alculquicondor
LGTM label has been added. Git tree hash: a970ffee4b848cd02d6170b5f2f1068dca3321bf
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, carlory 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of #118893
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: