-
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
Migrated pkg/scheduler/framework/plugins/interpodaffinity
to contextual logging
#116635
Migrated pkg/scheduler/framework/plugins/interpodaffinity
to contextual logging
#116635
Conversation
Skipping CI for Draft Pull Request. |
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. |
/test all |
693bf14
to
0bb8d2c
Compare
/test all |
1 similar comment
/test all |
0bb8d2c
to
e43351c
Compare
I suppose this pr still valid? |
e43351c
to
6d23da0
Compare
Thanks for the reminder. I was busy with other things recently. I have update the PR. |
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.
thanks
/lgtm
LGTM label has been added. Git tree hash: c702bbbb0b05e44858fd539978901995fe309b4f
|
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
/approve
/remove-kind feature
/kind cleanup
Thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kerthcet, mengjiao-liu 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:
Migrated
pkg/scheduler/framework/plugins/interpodaffinity
to contextual loggingWhich issue(s) this PR fixes:
Part of #91633 (comment)
Special notes for your reviewer:
GetNamespaceLabelsSnapshot
function in filepkg/scheduler/framework/plugins/interpodaffinity/plugin.go
is not updated because this function is called by the AssignedPodUpdated function in the file pkg/scheduler/internal/queue/scheduling_queue.goThe
AssignedPodUpdated
function involvesSchedulingQueue
interface changes, so the GetNamespaceLabelsSnapshot function will not be updated for the time being.The alternative is that we wait for scheduler: update the scheduler interface and cache methods to use contextual logging #116849 to merge first.
#116849 has been merged and the PR has updated and to be reviewed.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig instrumentation
/wg structured-logging
/area logging
/sig scheduling