[ERROR KubeletVersion]:kubelet版本高于控制平面版本 [英] [ERROR KubeletVersion]: the kubelet version is higher than the control plane version
问题描述
我是kubernetes的新手,并且正在设置我的第一个测试集群.但是,设置主节点时会出现此错误.但是我不确定如何解决.
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版本7.5.1804(核心)
CentOS Linux release 7.5.1804 (Core)
非常感谢 S
推荐答案
我遇到了同样的问题,并使用了kubeadm选项:--kubernetes-version = v1.12.0-rc.1
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
sudo kubeadm init --pod-network-cidr=172.16.0.0/12 --kubernetes-version=v1.12.0-rc.1
我使用的是几周前准备的JVM映像,并且刚刚更新了软件包.现在,当被询问时,Kubeadm,kubectl和kubelet都将返回版本v1.12.0-rc.1,但是当调用"kubeadm init"时,它将从先前的版本开始.
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.
使用Kubernetes版本的[init]:v1.11.3
[init] using Kubernetes version: v1.11.3
指定(控制平面)版本可以达到目的.
specifying the (control plane) version did the trick.
这篇关于[ERROR KubeletVersion]:kubelet版本高于控制平面版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!