You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preflight] Running pre-flight checks
[preflight] Reading configuration from the cluster...
[preflight] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
[preflight] Running pre-flight checks before initializing the new control plane instance
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
[download-certs] Downloading the certificates in Secret "kubeadm-certs"in the "kube-system" Namespace
[certs] Using certificateDir folder "/etc/kubernetes/pki"
[certs] Using the existing "etcd/healthcheck-client" certificate and key
[certs] Using the existing "apiserver-etcd-client" certificate and key
, not ip-10-10-0-72-cn-hangzhoulane-prepare/certs: error creating PKI assets: failed to write or validate certificate "etcd-peer": certificate etcd/peer is invalid: x509: certificate is valid for localhost, ip-10-10-0-72-cn-hangzhou
To see the stack trace of this error execute with --v=5 or higher
What you expected to happen?
正常安装
How to reproduce it (as minimally and precisely as possible)?
@hxfs You can try sealer delete --all first and then reinstall it to try it out. Also, for more information, you can turn on debug mode when reinstalling by using sealer run --debug.
What happen?
安装过程中出现下面报错,查看节点中的证书如图, 出现未知字符串,导致 kubeadm join failed
apiVersion: sealer.cloud/v2
kind: Cluster
metadata:
name: longbridge
spec:
image: sealerio/kubernetes:v1.22.15
ssh:
user: ubuntu
passwd: xxxx
hosts:
- ips: [ 10.10.0.74,10.10.0.72,10.10.0.73 ]
roles: [ master ]
taints:
- node-role.kubernetes.io/master=value:NoSchedule
- ips: [ 10.10.0.71,10.10.0.69,10.10.0.68 ]
roles: [ node ]
Relevant log output?
What you expected to happen?
正常安装
How to reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
What is the version of Sealer you using?
{"gitVersion":"v0.9.3","gitCommit":"a51d0ec","buildDate":"2023-03-31 05:58:58","goVersion":"go1.17.13","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
Ubuntu 22.04
What is the Kernel version?
5.15.0-69-generic #76-Ubuntu
Other environment you want to tell us?
The text was updated successfully, but these errors were encountered: