-
Notifications
You must be signed in to change notification settings - Fork 42k
fix GetVolumeLimits log flushing issue #69558
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 GetVolumeLimits log flushing issue #69558
Conversation
fix logging flushing issue in GetVolumeLimits
|
/sig azure |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/test pull-kubernetes-integration |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/test pull-kubernetes-integration |
|
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
|
/retest Review the full test history for this PR. Silence the bot with an |
…9558-upstream-release-1.12 Automated cherry pick of #69558: fix GetVolumeLimits log flushing issue
What this PR does / why we need it:
This PR is to fix the flushing log issue on k8s cluster.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #69503
Special notes for your reviewer:
In v1.12, GetVolumeLimits is enabled by default, take aws ebs for example, it will return error directly if it could not get cloud provider:
kubernetes/pkg/volume/awsebs/aws_ebs.go
Line 111 in f9acfd8
And logging as V(4):
kubernetes/pkg/kubelet/nodestatus/setters.go
Line 775 in f9acfd8
I suppose V(4) logs won't display in logs. Let me make the same change.
Release note:
/assign @gnufied
cc @turchanov