kubespray/roles/kubernetes
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
..
client Create admin credential kubeconfig (#1647) 2017-09-18 13:30:57 +01:00
kubeadm Enable HA deploy of kubeadm (#1658) 2017-09-15 22:28:15 +01:00
master Fix wait for hosts in CI (#1679) 2017-09-20 14:30:09 +01:00
node Allow setting cgroup driver for kubelet 2017-09-21 11:58:11 +02:00
preinstall Adding quotes around parameters in cloud_config (#1664) 2017-09-16 08:43:47 +01:00
secrets Prune unnecessary certs from vault setup (#1652) 2017-09-14 12:28:11 +01:00