Skip to content

kubekey支持arm64架构吗? #3157

Open
@llody55

Description

系统: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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions