在All-In-One的安装方式中,我已离线下载helm放入目录中,但是安装过程中仍然会再下载一次,网络原因无法在线下载helm,导致安装失败
What is version of KubeKey has the issue?
3.0.7
What is your os environment?
centos7.6
KubeKey config file
No response
A clear and concise description of what happend.
在All-In-One的安装方式中,我已离线下载helm文件helm-v3.9.0-linux-amd64.tar.gz放入kubekey/helm/v3.9.0/amd64目录中,但是安装过程中仍然会再要在线下载一次helm文件,网络原因无法在线下载helm,就导致安装失败,能否kk脚本中首先检测本地文件中已经存在的就不用在线再下载一次。
Relevant log output
No response
Additional information
No response
需要将压缩包解压,解压后一个文件夹,将里面的文件放到版本文件夹里,这一块挺坑的,直接curl 国外服务器的地址,也没有办法改动
I have the same question, how to repare?
his is a simple check of your environment. Before installation, ensure that your machines meet all requirements specified at https://github.com/kubesphere/kubekey#requirements-and-recommendations
Continue this installation? [yes/no]: yes 17:21:49 CST success: [LocalHost] 17:21:49 CST [NodeBinariesModule] Download installation binaries 17:21:49 CST message: [localhost] downloading amd64 kubeadm v1.23.10 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 43.1M 100 43.1M 0 0 12.3M 0 0:00:03 0:00:03 --:--:-- 12.3M 17:21:52 CST message: [localhost] downloading amd64 kubelet v1.23.10 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 118M 100 118M 0 0 12.3M 0 0:00:09 0:00:09 --:--:-- 11.9M 17:22:03 CST message: [localhost] downloading amd64 kubectl v1.23.10 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 44.4M 100 44.4M 0 0 13.5M 0 0:00:03 0:00:03 --:--:-- 13.5M 17:22:06 CST message: [localhost] downloading amd64 helm v3.9.0 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 13.3M 0 16383 0 0 214 0 18:06:38 0:01:16 18:05:22 0 curl: (56) TCP connection reset by peer 17:23:23 CST [WARN] Having a problem with accessing https://storage.googleapis.com? You can try again after setting environment 'export KKZONE=cn' 17:23:23 CST message: [LocalHost] Failed to download helm binary: curl -L -o /data/kubekey/helm/v3.9.0/amd64/helm-v3.9.0-linux-amd64.tar.gz https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz && cd /data/kubekey/helm/v3.9.0/amd64 && tar -zxf helm-v3.9.0-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf linux-amd64 error: exit status 56 17:23:23 CST failed: [LocalHost] error: Pipeline[CreateClusterPipeline] execute failed: Module[NodeBinariesModule] exec failed: failed: [LocalHost] [DownloadBinaries] exec failed after 1 retires: Failed to download helm binary: curl -L -o /data/kubekey/helm/v3.9.0/amd64/helm-v3.9.0-linux-amd64.tar.gz https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz && cd /data/kubekey/helm/v3.9.0/amd64 && tar -zxf helm-v3.9.0-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf linux-amd64 error: exit status 56
This issue will be fixed in 4.x. The 4.x version provides this configuration: Config Example. such as helm: https://github.com/kubesphere/kubekey/blob/e40c57fb9f09695ec7d57ded72f0f652415ba892/builtin/core/defaults/config/v1.23.15.yaml#L12 if set helm_version to empty, Helm will not be installed again.