-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
When I do compile k3s-arm64 binary it doesn't work #10915
Comments
Move your k3s binary to Your failures are unrelated to the K3s install script. You need to post the K3s logs, not just the output from kubectl. |
Also, any reason why you are compiling K3s yourself? We publish arm64 releases. |
It looks like it's starting, but runc is failing to start containers for some reason... what exactly did you change in k3s that caused you to need to rebuild it? I don't see that there's anything wrong with how you're installing or running it, so I suspect you've broken something else. |
I didn't modify anything,only compile |
... why? Does k3s work properly if you download one of the binaries from our release page? If it does, then the problem is your build. If it does not, then the problem is your node. |
My compilation environment dockerfile is as follows
In the container, I cloned the k3s code and executed the command. The compiled k3s-arm cannot be used. But when I use make k3s's own compilation environment and repeat the previous operation, there is no problem. I don't know why,The sizes of k3s-arm64 compiled by the two are different |
I'm sorry, I can't help you debug why your specific build environment doesn't work. |
When I compile the k3s binary by myself,
build k3s
I get the binaries for k3s-arm64 from dist/artifacts/k3s-arm64,
deploy k3s
go version go1.22.2 linux/arm64
k3s tag :v1.30.1+k3s1
Environmental Info:
K3s Version: v1.30.1+k3s1
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
Describe the bug:
Steps To Reproduce:
Expected behavior:
Actual behavior:
Additional context / logs:
The text was updated successfully, but these errors were encountered: