创建部署问题时,请参考下面模板:
操作系统信息
虚拟机,Centos7.5,4C/8G
Kubernetes版本信息
v1.20.4,多节点
KubeSphere版本信息
v3.0,全套,在线安装
问题是什么
安装过程中报错,无法启动:
INFO[10:27:00 CST] Refreshing etcd configuration
INFO[10:27:01 CST] Backup etcd data regularly
INFO[10:27:09 CST] Get cluster status
[vm11 192.168.3.101] MSG:
Cluster already exists.
[vm11 192.168.3.101] MSG:
v1.20.4
WARN[10:40:25 CST] Task failed …
WARN[10:40:25 CST] error: Failed to upload kubeadm certs: Failed to exec command: sudo -E /bin/sh -c “/usr/local/bin/kubeadm init phase upload-certs –upload-certs”
I0831 10:38:08.272540 1996 version.go:254] remote version is much newer: v1.22.1; falling back to: stable-1.20
[upload-certs] Storing the certificates in Secret “kubeadm-certs” in the “kube-system” Namespace
error execution phase upload-certs: error uploading certs: error creating token: timed out waiting for the condition
To see the stack trace of this error execute with –v=5 or higher: Process exited with status 1
Error: Failed to get cluster status: Failed to upload kubeadm certs: Failed to exec command: sudo -E /bin/sh -c “/usr/local/bin/kubeadm init phase upload-certs –upload-certs”
I0831 10:38:08.272540 1996 version.go:254] remote version is much newer: v1.22.1; falling back to: stable-1.20
[upload-certs] Storing the certificates in Secret “kubeadm-certs” in the “kube-system” Namespace
error execution phase upload-certs: error uploading certs: error creating token: timed out waiting for the condition
To see the stack trace of this error execute with –v=5 or higher: Process exited with status 1