Open
Description
over time we have seen a number of complains related to the crash loop of the kubelet service in the DEB/RPMs. when the kubelet is installed, the service is enabled but it would fail because it's missing its config.yaml (KubeletConfiguration), unless something like kubeadm creates one for it.
this has caused problems for:
- Windows support
- supporting other service manager like OpenRC
after a discussion of the kubeadm office hours of 10.06.2020 we've agreed that it might be a good idea to change this behavior and keep the service disabled by default. but this would require changes in both kubeadm and the kubelet systemd specs.
the idea we are thinking of is the following:
- modify kubeadm to always enable the service if its not enabled on kubeadm init/join runtime.
note that, currently kubeadm just has a preflight check that fails if the service is not enabled and instructs the user how to enable it manually. - modify the kubelet systemd service files in the kubernetes/release repository to have the kubelet service disabled by default. this change will require a release note with "action-required" as non-kubeadm users would have to manually enable it (e.g. using: "sysctl enable kubelet").
/kind feature
/priority important-longterm