3

在 4 个节点上配置 Kubespray,有 2 个(node1,node2)master 节点并在 node1 node2 node3 上安装 etcd,node3-4 是 worker 节点。

我收到以下错误,

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:

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

4

0 回答 0