-
Notifications
You must be signed in to change notification settings - Fork 40k
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 formatting for kubelet memcg notification threshold #63220
Conversation
/sig node |
/priority important-soon |
/retest |
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
[MILESTONENOTIFIER] Milestone Removed From Pull Request @dashpole @dchen1107 @feiskyer @kubernetes/sig-node-misc Important: This pull request was missing the |
/assign @vishh |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dashpole, feiskyer, vishh 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 |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
/kind bug
What this PR does / why we need it:
This fixes the following errors (found in this node_e2e serial test log):
eviction_manager.go:256] eviction manager attempting to integrate with kernel memcg notification api
threshold_notifier_linux.go:70] eviction: setting notification threshold to 4828488Ki
eviction_manager.go:272] eviction manager: failed to create hard memory threshold notifier: invalid argument
Special notes for your reviewer:
This needs to be cherrypicked back to 1.10.
This regression was added in #60531, because the
quantity
being used was changed from a DecimalSI to BinarySI, which changes how it is printed out in the String() method. To make it more explicit that we want the value, just convert Value() to a string.Release note: