操作系统信息
虚拟机/物理机,Ubuntu 22.04.2 LTS x86_64,16C/32G
Kubernetes版本信息
v1.23.17,单节点
KubeSphere版本信息
v3.3.2,在线安装/全套安装。
问题是什么
相关命令及报错信息如下,尝试多次依旧是同样的错误信息
ubuntu@ks-all-in-one:~$ export KKZONE=cn
ubuntu@ks-all-in-one:~$ curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.10 sh -
Downloading kubekey v3.0.10 from https://kubernetes.pek3b.qingstor.com/kubekey/releases/download/v3.0.10/kubekey-v3.0.10-linux-amd64.tar.gz ...
Kubekey v3.0.10 Download Complete!
ubuntu@ks-all-in-one:~$ sudo chown -R ubuntu /home/ubuntu/
ubuntu@ks-all-in-one:~$ sudo ./kk create cluster --with-kubernetes v1.23.17 --with-kubesphere v3.3.2
_ __ _ _ __
| | / / | | | | / /
| |/ / _ _| |__ ___| |/ / ___ _ _
| \| | | | '_ \ / _ \ \ / _ \ | | |
| |\ \ |_| | |_) | __/ |\ \ __/ |_| |
\_| \_/\__,_|_.__/ \___\_| \_/\___|\__, |
__/ |
|___/
23:13:15 CST [GreetingsModule] Greetings
23:13:16 CST message: [ks-all-in-one]
Greetings, KubeKey!
23:13:16 CST success: [ks-all-in-one]
23:13:16 CST [NodePreCheckModule] A pre-check on nodes
23:13:16 CST success: [ks-all-in-one]
23:13:16 CST [ConfirmModule] Display confirmation form
+---------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| name | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker | containerd | nfs client | ceph client | glusterfs client | time |
+---------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| ks-all-in-one | y | y | y | y | y | y | y | y | y | | | | | | CST 23:13:16 |
+---------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
This 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
23:13:20 CST success: [LocalHost]
23:13:20 CST [NodeBinariesModule] Download installation binaries
23:13:20 CST message: [localhost]
downloading amd64 kubeadm v1.23.17 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 41.7M 100 41.7M 0 0 71241 0 0:10:13 0:10:13 --:--:-- 102k
23:23:34 CST message: [localhost]
downloading amd64 kubelet v1.23.17 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 113M 100 113M 0 0 58051 0 0:34:11 0:34:11 --:--:-- 42467
23:57:48 CST message: [localhost]
downloading amd64 kubectl v1.23.17 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 43.0M 100 43.0M 0 0 95516 0 0:07:52 0:07:52 --:--:-- 84145
00:05:42 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 81920 0 0 510 0 7:35:57 0:02:40 7:33:17 0
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
00:08:23 CST [WARN] Having a problem with accessing https://storage.googleapis.com? You can try again after setting environment 'export KKZONE=cn'
00:08:23 CST message: [LocalHost]
Failed to download helm binary: curl -L -o /home/ubuntu/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 /home/ubuntu/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
00:08:23 CST failed: [LocalHost]
error: Pipeline[CreateClusterPipeline] execute failed: Module[NodeBinariesModule] exec failed:
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retries: Failed to download helm binary: curl -L -o /home/ubuntu/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 /home/ubuntu/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