cluster may be unhealthy: failed to list members

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cluster may be unhealthy: failed to list members相关的知识,希望对你有一定的参考价值。

[[email protected] 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



[[email protected] 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


[[email protected] etcd]# etcdctl -C http://etcd:2379 cluster-health

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

cluster is healthy


[[email protected] 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的主要内容,如果未能解决你的问题,请参考以下文章

Tomcat服务器重启失败:The server may already be running in another process, or a system process may be using

SVN报错The server may be unreachable or the URL may be incorrect的解决方案

git commit报错报错信息:type may not be empty [type-empty] subject may not be empty [subject-empty]

git commit报错报错信息:type may not be empty [type-empty] subject may not be empty [subject-empty]

Mac - was compiled with optimization - stepping may behave oddly; variables may not be available.(示

[Project Name] was compiled with optimization - stepping may behave oddly; variables may not be avai