首页 > 其他 > 详细

cluster may be unhealthy: failed to list members

时间:2018-05-24 16:20:40      阅读:1824      评论:0      收藏:0      [点我收藏+]
[root@kube-etcd etcd]# etcdctl -C http://etcd:2379 cluster-health

cluster may be unhealthy: failed to list members

Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp: lookup etcd on 114.114.114.114:53: no such host


error #0: dial tcp: lookup etcd on 114.114.114.114:53: no such host



[root@kube-etcd etcd]# vi /etc/hosts    配置hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

10.0.0.10    etcd

10.0.0.11    kube-master

10.0.0.12    kube-node-1

10.0.0.13    kube-node-2

10.0.0.14    kube-node-3


[root@kube-etcd etcd]# etcdctl -C http://etcd:2379 cluster-health

member 8e9e05c52164694d is healthy: got healthy result from http://kube-etcd:2379

cluster is healthy


[root@kube-etcd etcd]# etcdctl -C http://etcd:4001 cluster-health

member 8e9e05c52164694d is healthy: got healthy result from http://kube-etcd:2379

cluster is healthy





cluster may be unhealthy: failed to list members

原文:http://blog.51cto.com/sf1314/2119868

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!