kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.3k stars 544 forks source link

Could not resolve host: kubernetes-release.pek3b.qingstor.com #2215

Closed feifeifeimoon closed 5 months ago

feifeifeimoon commented 5 months ago

What is version of KubeKey has the issue?

kk version: &version.Info{Major:"3", Minor:"1", GitVersion:"v3.1.1", GitCommit:"7a184f786b02bec20d5534af137896f50e510396", GitTreeState:"clean", BuildDate:"2024-04-16T04:28:43Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}

What is your os environment?

Ubuntu 20.04

KubeKey config file

No response

A clear and concise description of what happend.

Could not resolve host: kubernetes-release.pek3b.qingstor.com

image

Relevant log output

`downloading amd64 kubeadm v1.23.15 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: kubernetes-release.pek3b.qingstor.com
17:54:13 CST message: [LocalHost]
Failed to download kubeadm binary: curl -L -o /root/kubekey/kube/v1.23.15/amd64/kubeadm https://kubernetes-release.pek3b.qingstor.com/release/v1.23.15/bin/linux/amd64/kubeadm error: exit status 6 
17:54:13 CST failed: [LocalHost]
error: Pipeline[CreateClusterPipeline] execute failed: Module[NodeBinariesModule] exec failed: 
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retries: Failed to download kubeadm binary: curl -L -o /root/kubekey/kube/v1.23.15/amd64/kubeadm https://kubernetes-release.pek3b.qingstor.com/release/v1.23.15/bin/linux/amd64/kubeadm error: exit status 6 `

Additional information

No response

zheng1 commented 5 months ago
截屏2024-04-19 15 14 44

I tested it, this address is worked, maybe there is something wrong with your local dns, you can try to change a dns server.