calicoctl 发现不了节点 的解决方法 No IPv4 peers found.

有解决方法的欢迎评论或加群:498974515

root@ubuntu:~# calicoctl get nodes --out=wide

Failed to get resources: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused

 

 

 

root@ubuntu:~#  calicoctl node status
Calico process is running.


IPv4 BGP status
No IPv4 peers found.


IPv6 BGP status
No IPv6 peers found.

 

 

 

 

The connection to the server localhost:8080 was refused - did you specify the right host or port?

 

Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")


版权声明:本文为liuCoding原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。