kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

Arm64 architecture chip execution error

Open trestea opened this issue 2 years ago • 4 comments

What is version of KubeKey has the issue?

1.1.1 arm64

What is your os environment?

麒麟v10

KubeKey config file

No response

A clear and concise description of what happend.

Error in executing command KK

image

Relevant log output

段错误

Additional information

No response

trestea avatar Oct 28 '21 09:10 trestea

I think it may have something to do with the build environment of release. Debian's operating system should be fine.

We will deal with this later.
Now you can try to build it in your environment. https://github.com/kubesphere/kubekey/blob/master/docs/developer-guide.md#build-binary-from-source-code

pixiake avatar Oct 28 '21 10:10 pixiake

That's what I did. However, during the installation, he will download the installation package of AMD64. I don't know why, but the arm installation method needs special configuration. image

trestea avatar Oct 29 '21 02:10 trestea

  1. Config-sample.yaml cannot be used. After use, AMD64 architecture will be used
  2. Do not use config-sample.yaml. The images used in the installation process are prefixed with registry.cn-beijing.aliyuncs.com/kubesphere. Local mirrors are not used.

trestea avatar Oct 29 '21 03:10 trestea

Non-amd64 nodes need to use the parameter arch to specify the node arch. such as:

- {name: node2, address: 172.16.0.3, internalAddress: 172.16.0.3, password: xxx, arch: arm64}

We will continue to improve the documentation.

pixiake avatar Nov 05 '21 02:11 pixiake