我正在尝试在 Azure ubuntu-16.04 LTS VM 上设置 Kubernetes 集群。我在 VM 上安装了 docker 17.03.2~ce-0~ubuntu-xenial 版本,并按照 kubernetes 官方网站上提到的所有步骤操作,但是在我的主节点上运行 kubeadm 命令时出现错误。
我的初始化命令:
kubeadm init --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=<ip>
错误信息:
[init] using Kubernetes version: v1.11.3
[preflight] running pre-flight checks
[preflight] Some fatal errors occurred:
[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"
[preflight] If you know what you are doing, you can make a check non-fatal
with `--ignore-preflight-errors=...`