Red Hat Bugzilla – Bug 1468752
kubelet requires --cgroup-driver=systemd in its conifguration
Last modified: 2017-07-16 16:20:33 EDT
Description of problem:
Fedora's docker configuration specifies `--exec-opt native.cgroupdriver=systemd` and the kubelet expects the cgroupfs driver. Starting with kube 1.6.x, this prevents the kubelet from starting on Fedora (and CentOS). The kubelet rpm provided by the upstream kubeadm effort adds `Environment="KUBELET_CGROUP_ARGS=--cgroup-driver=systemd"` to the unit: https://github.com/kubernetes/release/blob/master/rpm/10-kubeadm.conf#L8
This can also be worked around by adding `--cgroup-driver=systemd` to the `KUBELET_ARGS=` in `/etc/kubernetes/kubelet.`
See also https://github.com/kubernetes/kubernetes/issues/43805
Fixing in the upstream repository first: https://github.com/kubernetes/contrib/pull/2659
kubernetes-1.6.7-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-48014f1cad
That fix in the ansible was being overwritten later in the script, this should fix that: https://github.com/kubernetes/contrib/pull/2663
kubernetes-1.6.7-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-48014f1cad
kubernetes-1.6.7-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.