-
Notifications
You must be signed in to change notification settings - Fork 4.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
Add kubelet cgroup driver property #9879
Add kubelet cgroup driver property #9879
Conversation
Welcome @bmelbourne! |
Hi @bmelbourne. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
Thanks for adding this. Was quite curious to try it myself. |
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 "explicit" is misspelled. Please fix and also squash all commits.
I'm following most of the steps outlined here... But as I'm running on a Windows 10 machine and hence no Docker available, it's leaving me dependent on the outcome of the PR tests for feedback.
Also, I'll squash the commits once all of the tests are passing. |
No worries, sometimes it's easier to just wait for automated tests to tell you what's left. |
/assign @zetaab |
Thanks @bmelbourne . |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bmelbourne, hakman 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 |
/retest |
It would have been nice with some validation logic here |
Good idea, can be done in a future PR. |
…pstream-release-1.18 Automated cherry pick of #9879: Add kubelet cgroup driver property
What type of PR is this?
/kind bug
What this PR does / why we need it:
Allow Docker and Kubelet to set the Cgroup Driver to
systemd
as recommended in the official Kubernetes docs.https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers
Which issue(s) this PR fixes:
When attempting to set the Docker container runtime cgroup driver (native.cgroupdriver) to
systemd
in the Kops YAML manifest.The following Kubelet error is reported during the Kops Kubernetes bootstrapping process.
Special notes for your reviewer:
Tested using Kops
Version 1.19.0-alpha.3 (git-d8b7310c69)
./etc/sysconfig/kubelet