Kubernetes Kubespray etcdctl:“;错误:客户端:etcd群集不可用或配置错误;错误#0:没有到主机的路由

Kubernetes Kubespray etcdctl:“;错误:客户端:etcd群集不可用或配置错误;错误#0:没有到主机的路由,kubernetes,etcd,kubespray,Kubernetes,Etcd,Kubespray,在4个节点上配置Kubespray,其中有2个(node1、node2)主节点,并在node1、node2、node3和node3-4上安装etcd是工作节点 我得到以下错误: fatal: [node1]: FAILED! => {"attempts": 8, "changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --endpoints=https://x.x.x.x:2379,https://x.x.x.x:2379,ht

在4个节点上配置Kubespray,其中有2个(node1、node2)主节点,并在node1、node2、node3和node3-4上安装etcd是工作节点

我得到以下错误:

fatal: [node1]: FAILED! => {"attempts": 8, "changed": false, "cmd": "/usr/local/bin/etcdctl --no-sync --endpoints=https://x.x.x.x:2379,https://x.x.x.x:2379,https://x.x.x.x:2379 cluster-health | grep -q 'cluster is healthy'", "delta": "0:00:00.023138", "end": "2020-06-05 17:07:03.033707", "msg": "non-zero return code", "rc": 1, "start": "2020-06-05 17:07:03.010569", "stderr": "Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp x.x.x.x:2379: connect: no route to host\n; error #1: EOF\n; error #2: dial tcp x.x.x.x:2379: connect: no route to host\n\nerror #0: dial tcp x.x.x.x:2379:

有人能解释一下在配置这些节点时我在这里做错了什么吗?

这些etcd主机可以相互通信吗?有防火墙吗?这些主机上的端口是否打开?这些etcd主机能否相互通信?有防火墙吗?这些主机上的端口是否打开?