kubespray/roles/kubernetes/node/templates
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
..
manifests Adding in certificate serial numbers to manifests (#1392) 2017-09-01 09:02:23 +03:00
http-proxy.conf.j2 Adding support for proxy w/ rkt kubelet 2017-02-14 08:09:49 -06:00
kube-proxy-kubeconfig.yaml.j2 basic rbac support 2017-07-17 19:29:59 +08:00
kubelet-container.j2 ensure the /etc/os-release is mounted read only 2017-05-01 14:51:40 -04:00
kubelet.docker.service.j2 Move calico to daemonset (#1605) 2017-09-04 11:29:51 +03:00
kubelet.host.service.j2 kubeadm support (#1631) 2017-09-13 19:00:51 +01:00
kubelet.kubeadm.env.j2 Enable HA deploy of kubeadm (#1658) 2017-09-15 22:28:15 +01:00
kubelet.rkt.service.j2 Move calico to daemonset (#1605) 2017-09-04 11:29:51 +03:00
kubelet.standard.env.j2 Allow setting cgroup driver for kubelet 2017-09-21 11:58:11 +02:00
nginx.conf.j2 Rework inventory all by real groups' vars 2017-02-23 09:43:42 +01:00
node-kubeconfig.yaml.j2 Generate individual certificates for k8s hosts 2017-01-11 12:58:07 +03:00