Spurious kubelet warning on upgrade from 1.20 to 1.21 #2443
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Versions
kubeadm version (use
kubeadm version
):ubeadm version: &version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:30:03Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Environment:
kubectl version
):$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:31:21Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:25:06Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Brightbox
Ubuntu 20.04.2 LTS
uname -a
):Linux srv-4krvx 5.4.0-70-generic 'kubeadm join' failed on cluster node ( @kubernetes/sig-cluster-lifecycle ) #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
What happened?
What you expected to happen?
kubelet is running with cgroupDriver set to systemd
so there shouldn't be a warning.
How to reproduce it (as minimally and precisely as possible)?
Run
sudo kubeadm upgrade plan
to use the internally stored config - which doesn't store the KubeletConfigurationThe missing KubeletConfiguration seems to trigger the warning. If you run the upgrade plan with the original external kubeadm.conf (
sudo kubeadm upgrade plan --config install/kubeadm.conf
) then the kubeadm stops warning about kubelet and complains about using an external config file instead!Anything else we need to know?
The text was updated successfully, but these errors were encountered: