我们遵循文档https://kubernetes.io/docs/tasks/administer-cluster/setup-ha-etcd-with-kubeadm并尝试安装在kubelet中运行的etcd。
etcd在容器中显示为127.0.0.1 2379,而不是ex: 123.43.23.12:2379,因此不同机器上的主机永远不能通信。
有人遇到过这个问题吗?选中/etc/kubernetes/manifest/etcd.yaml file - ip是127.0.0.1,而不是主机ip,例如: 123.43.23.12!
- --initial-advertise-peer-urls
- **http://127.0.0.1:2380**
- --listen-peer-urls
- **http://127.0.0.1:2380**
- --advertise-client-urls
- **http://127.0.0.1:2379**
- --listen-client-urls
- **http://127.0.0.1:2379**
alpha阶段etcd本地有bug吗?
谢谢Ayyappan
https://stackoverflow.com/questions/51385269
复制相似问题