k8s初始化报错
[root@k8s-master01 ~]# kubeadm init --config=kubeadm-config.yaml --upload-certs | tee kubeadm-init.log[init] Using Kubernetes version: v1.14.0[preflight] Running pre-flight checks[WARNING SystemVerifi
·
[root@k8s-master01 ~]# kubeadm init --config=kubeadm-config.yaml --upload-certs | tee kubeadm-init.log
[init] Using Kubernetes version: v1.14.0
[preflight] Running pre-flight checks
[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.6. Latest validated version: 18.09
error execution phase preflight: [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.15.1" Control plane version: "1.14.0"
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
这个报错主要是因为初始化配置文件的版本号没有修改过来,把配置文件的版本号修改重新操作就可以
把默认kubernetesVersion: v1.14.0 改成 kubernetesVersion: v1.15.1
就可以
更多推荐
已为社区贡献7条内容
所有评论(0)