使用kk创建集群,出现了etcd外网连接不到错误
ERRO[10:39:26 CST] Failed to start etcd cluster: Failed to exec command: sudo -E /bin/sh -c “export ETCDCTL_API=2;export ETCDCTL_CERT_FILE=‘/etc/ssl/etcd/ssl/admin-master.pem’;export ETCDCTL_KEY_FILE=‘/etc/ssl/etcd/ssl/admin-master-key.pem’;export ETCDCTL_CA_FILE=‘/etc/ssl/etcd/ssl/ca.pem’;/usr/local/bin/etcdctl –endpoints=https://192.168.6.192:2379 cluster-health | grep -q ‘cluster is healthy’”
Error: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint https://192.168.6.192:2379 exceeded header timeout
error #0: client: endpoint https://192.168.6.192:2379 exceeded header timeout: Process exited with status 1 node=192.168.6.152
WARN[10:39:26 CST] Task failed …
WARN[10:39:26 CST] error: interrupted by error
Error: Failed to refresh etcd configuration: interrupted by error