c12s-kubespray/roles/kubernetes/node
Jiri Stransky dbbe9419e5 Allow setting cgroup driver for kubelet
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.
2017-09-21 11:58:11 +02:00
..
defaults Adding yamllinter to ci steps (#1556) 2017-08-24 12:09:52 +03:00
handlers Drop non systemd OS types support 2017-01-02 12:14:03 +01:00
meta kubeadm support (#1631) 2017-09-13 19:00:51 +01:00
tasks Allow setting cgroup driver for kubelet 2017-09-21 11:58:11 +02:00
templates Allow setting cgroup driver for kubelet 2017-09-21 11:58:11 +02:00