炫意html5
最早CSS3和HTML5移动技术网站之一

k8s control-plane 加入集群卡在”Waiting for the new etcd member to join the cluster”

将1台服务器作为 control-plane 加入高可用集群,kubeadm join 命令加入的过程中在加入 etcd 集群时卡住,而且造成已有的 control-plane 上 etcd pod 无法启动,请问如何解决?

[etcd] Announced new etcd member joining to the existing etcd cluster
[etcd] Creating static Pod manifest for "etcd"
[etcd] Waiting for the new etcd member to join the cluster. This can take up to 40s
[kubelet-check] Initial timeout of 40s passed.

回答

问题补充:

对比2台 control-plane 的 /etc/kubernetes/manifests/etcd.yaml,发现 initial-cluster 参数不一致

一个是

- --initial-cluster=kube-master0=https://10.0.9.171:2380

一个是

- --initial-cluster=kube-master0=https://10.0.9.171:2380,kube-master1=https://10.0.9.215:2380

修改为一样后问题依旧

炫意HTML5 » k8s control-plane 加入集群卡在”Waiting for the new etcd member to join the cluster”

Java基础教程Android基础教程