[ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster

 

 原因:

Kubelet 和 Kubeadm 版本不一致导致

查看kubelet 和 kubeadm 版本

[root@k8s-master01 cluster]# kubelet --version
Kubernetes v1.19.3
[root@k8s-master01 cluster]# kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:51:21Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
[root@k8s-master01 cluster]# 

 

解决办法:

重新安装对应的 kubelet 版本

yum -y remove kubelet
yum  -y  install kubelet-1.14.0 kubeadm-1.14.0 kubectl-1.14.0 --disableexcludes=kubernetes

启动服务

systemctl enable kubelet && systemctl restart kubelet

 

posted on 2020-11-11 11:35  wangzy-Zj  阅读(5861)  评论(0编辑  收藏  举报