-
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
kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs" #18776
Comments
@openshift/sig-pod |
This seems just a configuration issue, change docker's cgroup driver to systemd. |
use with docker: |
Which file(s) do I've to change and which variable?
|
It's fixed by adapting the line in
|
Seeing this issue in WSL. Users may also be able to add the instructions in the file After doing this, our new error is
|
in my case i already have --exec-opt native.cgroupdriver=systemd option in /usr/lib/systemd/system/docker.service file but still my CgroupDriver is using cgroupfs ExecStart=/usr/bin/dockerd-current Docker info: How to change cgroup to systemd |
location for docker 17.03 on ubuntu 16.04 = /lib/systemd/system/docker.service |
I was able to resolve this issue for my use-case by having the same cgroup driver for docker and kubelet. In my case on CentOS 7.6 I could fix the issue by adding Most likely these drivers can be set with any other driver types as well but that was not a part of my testing. |
Version
Steps To Reproduce
On a Clean RHEL 7.4 server (1 machine) installation I try to run openshift as a All-in-One
Googling around doesn't give me a proper solution.
Current Result
The text was updated successfully, but these errors were encountered: