使用KK离线安装时helm无法下载,请看一下哪操作的问题
./kk create cluster -f config-sample.yaml +-------+------+------+---------+----------+-------+-------+-----------+---------+------------+-------------+------------------+--------------+ | name | sudo | curl | openssl | ebtables | socat | ipset | conntrack | docker | nfs client | ceph client | glusterfs client | time | +-------+------+------+---------+----------+-------+-------+-----------+---------+------------+-------------+------------------+--------------+ | cq-m1 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-n1 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-n3 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-n4 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-n5 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-m3 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-n2 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | | cq-m2 | y | y | y | y | y | y | y | 20.10.7 | y | y | y | CST 00:06:25 | +-------+------+------+---------+----------+-------+-------+-----------+---------+------------+-------------+------------------+--------------+
This is a simple check of your environment. Before installation, you should ensure that your machines meet all requirements specified at https://github.com/kubesphere/kubekey#requirements-and-recommendations
Continue this installation? [yes/no]: yes
INFO[00:06:29 CST] Downloading Installation Files
INFO[00:06:29 CST] Downloading kubeadm ...
INFO[00:06:29 CST] Downloading kubelet ...
INFO[00:06:30 CST] Downloading kubectl ...
INFO[00:06:30 CST] Downloading helm ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:-- 0curl: (7) Failed to connect to 2606:2800:247:1cb7:261b:1f9c:2074:3c: Network is unreachable
WARN[00:08:38 CST] Having a problem with accessing https://storage.googleapis.com? You can try again after setting environment 'export KKZONE=cn'
WARN[00:08:38 CST] Task failed ...
WARN[00:08:38 CST] error: Failed to download helm binary: curl -L -o /root/tools/kubesphere/kubekey/v1.20.6/amd64/helm-v3.6.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz && cd /root/tools/kubesphere/kubekey/v1.20.6/amd64 && tar -zxf helm-v3.6.3-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf linux-amd64
Error: Failed to download kube binaries: Failed to download helm binary: curl -L -o /root/tools/kubesphere/kubekey/v1.20.6/amd64/helm-v3.6.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz && cd /root/tools/kubesphere/kubekey/v1.20.6/amd64 && tar -zxf helm-v3.6.3-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf linux-amd64
Usage:
kk create cluster [flags]
Flags: --container-manager string Container runtime: docker, crio, containerd and isula. (default "docker") --download-cmd string The user defined command to download the necessary binary files. The first param '%s' is output path, the second param '%s', is the URL (default "curl -L -o %s %s") -f, --filename string Path to a configuration file -h, --help help for cluster --skip-pull-images Skip pre pull images --with-kubernetes string Specify a supported version of kubernetes (default "v1.21.5") --with-kubesphere Deploy a specific version of kubesphere (default v3.2.0) --with-local-storage Deploy a local PV provisioner -y, --yes Skip pre-check of the installation
Global Flags: --debug Print detailed information (default true) --in-cluster Running inside the cluster
Failed to download kube binaries: Failed to download helm binary: curl -L -o /root/tools/kubesphere/kubekey/v1.20.6/amd64/helm-v3.6.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz && cd /root/tools/kubesphere/kubekey/v1.20.6/amd64 && tar -zxf helm-v3.6.3-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf linux-amd64
Hi @xiayz,
How did you install KubeSphere? Which guide did you follow?
Hi @FeynmanZhou
使用官网的文档:v3.2 v3.1.1 离线安装都试过
https://kubesphere.io/zh/docs/installing-on-linux/introduction/air-gapped-installation/#%e7%bc%96%e8%be%91%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6