当我运行时,kubeadm upgrade plan
我得到:
[preflight] Running pre-flight checks. [upgrade] Making sure the cluster is healthy: [upgrade/config] Making sure the configuration is correct: [upgrade/config] Reading configuration from the cluster... [upgrade/config] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -oyaml' [upgrade/config] FATAL: unexpected error when reading kubeadm-config ConfigMap: ClusterConfiguration key value pair missing
这个配置图是什么以及如何获取它?
答案1
此消息来自kubeadm
1.13 二进制文件。执行kubeadm upgrade
1.10 -> 1.11 时,请确保使用kubeadm
1.11 二进制文件。同样,kubeadm
从 1.11 -> 1.12 时,请使用 1.12 二进制文件。