我们正在为 k8s 集群使用外部 etcd 集群。我们将 master 连接到此 etcd 服务器,但收到
"tls: first record does not look like a TLS handshake"
如何解决这个问题?(对于 eksctl 方面,所有在具有相同证书的 etcd 服务器上都可以正常工作)
ETCDCTL_API=3 /usr/local/bin/etcdctl member list --endpoints=https://127.0.0.1:2379 --cacert=/etc/etcd/ca.crt --cert=/etc/etcd/etcd-server.crt --key=/etc/etcd/etcd-server.key
b1fa8ebad0f4fa6, started, etcd-kube-cluster-1, https://10.105.113.*:2380, https://10.105.113.*:2379, false
984a08591dda4911, started, etcd-kube-cluster-3, https://10.105.114.*:2380, https://10.105.114.*:2379, false
b55b37a2544c7daa, started, etcd-kube-cluster-2, https://10.105.113.*:2380, https://10.105.113.*:2379, false
Kube-api 服务器清单更新为相同的证书