创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
将 kubectl version
命令执行结果贴在下方
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
KubeSphere版本信息
例如:
问题是什么
报错日志是什么,最好有截图。
https://kubesphere.com.cn/docs/v3.3/installing-on-linux/introduction/multioverview/
用的这个命令安装./kk create cluster --with-kubernetes v1.23.7 --with-kubesphere v3.3.0 -f config-sample.yaml -y
error #0: dial tcp 174.139.160.***:2379: connect: connection refused: Process exited with status 1
02:36:36 CST retry: [KT1]
02:36:41 CST message: [KT1]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c “export ETCDCTL_API=2;export ETCDCTL_CERT_FILE=‘/etc/ssl/etcd/ssl/admin-KT1.pem’;export ETCDCTL_KEY_FILE=‘/etc/ssl/etcd/ssl/admin-KT1-key.pem’;export ETCDCTL_CA_FILE=‘/etc/ssl/etcd/ssl/ca.pem’;/usr/local/bin/etcdctl –endpoints=[https://174.139.160.***:2379](https://174.139.160.%2A%2A%2A:2379/) cluster-health | grep -q ‘cluster is healthy’”
Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 174.139.160.***:2379: connect: connection refused