[ERROR KubeletVersion]: the kubelet version is higher than the control plane version

9/21/2018

I'm new to kubernetes and I'm setting up my first testing cluster. However, I'll get this error when I set up the master node. But I'm not sure how to fix it.

[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 version: "1.12.0-rc.1" Control plane version: "1.11.3"

The host is fully patched to the latest levels

CentOS Linux release 7.5.1804 (Core)

Many Thanks S

-- Sean Lee
kubernetes

3 Answers

9/21/2018

I'm getting the same error on a clean Centos 7 install after fully updating with yum update, and then applying the instructions from https://kubernetes.io/docs/setup/independent/install-kubeadm/ for setup.

Adding the option for --ignore-preflight-errors=KubeletVersion allows the installer to continue but the installation is non-working afterwards.

I was able to remove everything and reinstall matching versions with the following:

yum -y remove kubelet kubeadm kubectl yum install -y --disableexcludes=kubernetes kubeadm-1.11.3-0.x86_64 kubectl-1.11.3-0.x86_64 kubelet-1.11.3-0.x86_64

-- Brendan Waters
Source: StackOverflow

9/21/2018

Install the same version of kubelet & kubeadm

yum -y remove kubelet
yum -y install kubelet-1.11.3-0 kubeadm-1.11.3-0
-- Michael
Source: StackOverflow

9/21/2018

I hit the same problem and used the kubeadm option: --kubernetes-version=v1.12.0-rc.1

sudo kubeadm init --pod-network-cidr=172.16.0.0/12 --kubernetes-version=v1.12.0-rc.1

I'm using a JVM image that was prepared a few weeks ago and have just updated the packages. Kubeadm, kubectl and kubelet all now return version v1.12.0-rc.1 when asked but when 'kubeadm init' is called it kicks off with the previous version.

[init] using Kubernetes version: v1.11.3

specifying the (control plane) version did the trick.

-- Archcynic
Source: StackOverflow