Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubekey支持arm64架构吗? #3157

Open
llody55 opened this issue Aug 15, 2024 · 1 comment
Open

kubekey支持arm64架构吗? #3157

llody55 opened this issue Aug 15, 2024 · 1 comment

Comments

@llody55
Copy link

llody55 commented Aug 15, 2024

系统:ubantu22.04

架构:ARM64

CPU: Kunpeng-920

内核:5.15.0-118-generic

在arm64架构下,部署K8S1.24版本集群,会去下载X86架构的包,这有办法解决吗?

root@k8s-master1:~# ./kk create cluster -f config-sample.yaml 


 _   __      _          _   __           
| | / /     | |        | | / /           
| |/ / _   _| |__   ___| |/ /  ___ _   _ 
|    \| | | | '_ \ / _ \    \ / _ \ | | |
| |\  \ |_| | |_) |  __/ |\  \  __/ |_| |
\_| \_/\__,_|_.__/ \___\_| \_/\___|\__, |
                                    __/ |
                                   |___/

10:57:36 CST [GreetingsModule] Greetings
10:57:37 CST message: [k8s-master1]
Greetings, KubeKey!
10:57:37 CST success: [k8s-master1]
10:57:37 CST [NodePreCheckModule] A pre-check on nodes
10:57:37 CST success: [k8s-master1]
10:57:37 CST [ConfirmModule] Display confirmation form
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| name        | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker | containerd | nfs client | ceph client | glusterfs client | time         |
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| k8s-master1 | y    | y    | y       | y        | y     | y     | y       | y         |        |        |            | y          |             |                  | CST 10:57:37 |
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+

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
10:57:56 CST success: [LocalHost]
10:57:56 CST [NodeBinariesModule] Download installation binaries
10:57:56 CST message: [localhost]
downloading amd64 kubeadm v1.24.9 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
10:57:56 CST [WARN] Having a problem with accessing https://storage.googleapis.com? You can try again after setting environment 'export KKZONE=cn'
10:57:56 CST message: [LocalHost]
Failed to download kubeadm binary: curl -L -o /root/kubekey/kube/v1.24.9/amd64/kubeadm https://storage.googleapis.com/kubernetes-release/release/v1.24.9/bin/linux/amd64/kubeadm error: exit status 56 
10:57:56 CST failed: [LocalHost]
error: Pipeline[CreateClusterPipeline] execute failed: Module[NodeBinariesModule] exec failed: 
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retires: Failed to download kubeadm binary: curl -L -o /root/kubekey/kube/v1.24.9/amd64/kubeadm https://storage.googleapis.com/kubernetes-release/release/v1.24.9/bin/linux/amd64/kubeadm error: exit status 56 

相关组件系统版本

root@k8s-master1:~# ./kk version
kk version: &version.Info{Major:"3", Minor:"0", GitVersion:"v3.0.7-dirty", GitCommit:"e755baf67198d565689d7207378174f429b508ba", GitTreeState:"dirty", BuildDate:"2023-01-18T01:59:52Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/arm64"}
root@k8s-master1:~# uname -a
Linux k8s-master1 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:30:28 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
@inksnw
Copy link

inksnw commented Aug 15, 2024

https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md

 # If you install Kubernetes on ARM, add "arch: arm64". For example, {...user: ubuntu, password: Qcloud@123, arch: arm64}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants