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/podtopologyspread
to contextual logging
#116797
Migrated pkg/scheduler/framework/plugins/podtopologyspread
to contextual logging
#116797
Conversation
Skipping CI for Draft Pull Request. |
/test all |
/triage accepted |
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.
Totally LGTM to me.
ffaadcf
to
9d1a0d5
Compare
/test pull-kubernetes-unit |
9d1a0d5
to
7f370d6
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
/assign @alculquicondor
LGTM label has been added. Git tree hash: 2ef0080c85e8e4d71cea64f5fe599626d1de04dc
|
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.
/approve
if node == nil { | ||
klog.ErrorS(nil, "Node not found") | ||
logger.Error(nil, "Node not found") |
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.
We added this log line several releases ago when it was possible for us to have nil nodes in the cache.
We no longer have those. We can remove this log line to avoid the FromContext
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, 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/podtopologyspread
to contextual loggingWhich issue(s) this PR fixes:
Part of #91633 (comment)
Special notes for your reviewer:
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