dbbe9419e5
Red Hat family platforms run docker daemon with `--exec-opt native.cgroupdriver=systemd`. When kubespray tried to start kubelet service, it failed with: Error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd" Setting kubelet's cgroup driver to the correct value for the platform fixes this issue. The code utilizes autodetection of docker's cgroup driver, as different RPMs for the same distro may vary in that regard. |
||
---|---|---|
.. | ||
manifests | ||
http-proxy.conf.j2 | ||
kube-proxy-kubeconfig.yaml.j2 | ||
kubelet-container.j2 | ||
kubelet.docker.service.j2 | ||
kubelet.host.service.j2 | ||
kubelet.kubeadm.env.j2 | ||
kubelet.rkt.service.j2 | ||
kubelet.standard.env.j2 | ||
nginx.conf.j2 | ||
node-kubeconfig.yaml.j2 |