-
Notifications
You must be signed in to change notification settings - Fork 40.6k
chore(kubelet): migrate images to contextual logging #130384
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
base: master
Are you sure you want to change the base?
chore(kubelet): migrate images to contextual logging #130384
Conversation
/cc @bart0sh |
@zhifei92 Thank you for your PR. Please update |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zhifei92 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 |
Done, thanks. |
/lgtm /assign @SergeyKanzhelev @mrunalp |
LGTM label has been added. Git tree hash: 59276eb89b9d0afb2eda845fcdf98544d4fbbb62
|
e9f0a8c
to
9253ff3
Compare
New changes are detected. LGTM label has been removed. |
/test pull-kubernetes-unit |
@@ -1643,7 +1643,7 @@ func (kl *Kubelet) initializeModules(ctx context.Context) error { | ||
} | ||
|
||
// Start the image manager. | ||
kl.imageManager.Start() | ||
kl.imageManager.Start(ctx) |
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.
hm, is it the right context to pass here? initializeModules
will likely have a context of initialization stage. While Start
will start the background operation
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.
I think it's fine; the context for initializeModules
comes from (kl *Kubelet) Run
68f91ad
to
c05b6d1
Compare
/retest-required |
c05b6d1
to
7fd5877
Compare
chore: fix golangci lint QF1008.
7fd5877
to
0b2388b
Compare
@zhifei92: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
migrate images to contextual logging
Which issue(s) this PR fixes:
Fixes #
part of #130069
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: