-
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
Kubelet emits warning rather than exiting on invalid cgroup setup #79245
Conversation
/sig node |
/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
Thanks for this quick fix @dashpole !
I just ran into this in an LXC container running systemd where I've split up the cpu and cpuacct cgroup mountpoints. Here's more context on this error: How critical is this functionality? |
@stealthybox I responded in slack as well, but i'll repeat it here for anyone else who happens across this. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dashpole, derekwaynecarr 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 |
I can confirm I built this for arm64 and it solved my issue. |
Please note that this also affects docker:
|
@stealthybox yes, this issue is independent of the container runtime used. |
…-#79245-upstream-release-1.15 Automated cherry pick of #79245: kunsupported cgroup setup causes kubelet to emit a warning
What type of PR is this?
/kind bug
What this PR does / why we need it:
This maintains the prior behavior of the kubelet when the cgroup setup is unsupported. It emits an error rather than exiting. This is important for those who run kubelets locally to test changes unrelated to monitoring or cgroup setup.
Which issue(s) this PR fixes:
Fixes #78950
Does this PR introduce a user-facing change?:
cc @mattjmcnaughton @roycaihw