Closed lklkxcxc closed 2 years ago
之前集群清理失败手动清理后,重新创建集群时候报错:root@test-shiyan docker.service.d]# sealer run -e NFSIP=172.20.52.200 -e NFSPATH=/gpfs/vmfs/nfs/k8s/pool-dev -e MASTERIP='172.20.57.108;172.20.58.189;172.20.58.88' harbor.cecdat.com/platform/kubernetes-monitor:v1.19.8 --masters 172.20.57.108,172.20.58.189,172.20.58.88 --nodes 172.20.57.108,172.20.58.189,172.20.58.88 --debug Error: Get "https://apiserver.cluster.local:6443/version?timeout=32s": dial tcp: lookup apiserver.cluster.local: no such host Usage:
No response
{"gitVersion":"v0.7.1","gitCommit":"2a4d201","buildDate":"2022-03-16 06:41:35","goVersion":"go1.16.14","compiler":"gc","platform":"linux/amd64"}
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31"
3.10.0-1127.el7.x86_64
sealer节点rm -rf .kube 解决
What happen?
之前集群清理失败手动清理后,重新创建集群时候报错:root@test-shiyan docker.service.d]# sealer run -e NFSIP=172.20.52.200 -e NFSPATH=/gpfs/vmfs/nfs/k8s/pool-dev -e MASTERIP='172.20.57.108;172.20.58.189;172.20.58.88' harbor.cecdat.com/platform/kubernetes-monitor:v1.19.8 --masters 172.20.57.108,172.20.58.189,172.20.58.88 --nodes 172.20.57.108,172.20.58.189,172.20.58.88 --debug Error: Get "https://apiserver.cluster.local:6443/version?timeout=32s": dial tcp: lookup apiserver.cluster.local: no such host Usage:
Relevant log output?
No response
What you expected to happen?
No response
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.7.1","gitCommit":"2a4d201","buildDate":"2022-03-16 06:41:35","goVersion":"go1.16.14","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31"
What is the Kernel version?
3.10.0-1127.el7.x86_64
Other environment you want to tell us?