创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
例如:虚拟机,Centos7.9,2C/4G
Kubernetes版本信息
例如:v1.21.5。多节点,3master,2worker。
容器运行时
例如,使用 docker20.10.8
KubeSphere版本信息
例如:v3.2.1。在线安装。干净的系统,使用kk安装。
问题是什么
INFO[15:23:06 CST] Starting etcd cluster
INFO[15:23:07 CST] Refreshing etcd configuration
ERRO[15:23:23 CST] Failed to start etcd: Failed to exec command: sudo -E /bin/sh -c “systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd”
Job for etcd.service failed because the control process exited with error code. See “systemctl status etcd.service” and “journalctl -xe” for details.: Process exited with status 1 node=42.192.199.193
ERRO[15:23:23 CST] Failed to start etcd: Failed to exec command: sudo -E /bin/sh -c “systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd”
Job for etcd.service failed because the control process exited with error code. See “systemctl status etcd.service” and “journalctl -xe” for details.: Process exited with status 1 node=42.192.208.134
ERRO[15:23:23 CST] Failed to start etcd: Failed to exec command: sudo -E /bin/sh -c “systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd”
Job for etcd.service failed because the control process exited with error code. See “systemctl status etcd.service” and “journalctl -xe” for details.: Process exited with status 1 node=42.192.198.188
WARN[15:23:23 CST] Task failed …
WARN[15:23:23 CST] error: interrupted by error
Error: Failed to refresh etcd configuration: interrupted by error
Usage:
kk create cluster [flags]
Flags:
--container-manager string Container runtime: docker, crio, containerd and isula. (default "docker")
--download-cmd string The user defined command to download the necessary binary files. The first param '%s' is output path, the second param '%s', is the URL (default "curl -L -o %s %s")
-f, –filename string Path to a configuration file
-h, –help help for cluster
--skip-pull-images Skip pre pull images
--with-kubernetes string Specify a supported version of kubernetes (default "v1.21.5")
--with-kubesphere Deploy a specific version of kubesphere (default v3.2.0)
--with-local-storage Deploy a local PV provisioner
-y, –yes Skip pre-check of the installation
Global Flags:
--debug Print detailed information (default true)
--in-cluster Running inside the cluster
Failed to refresh etcd configuration: interrupted by error


