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

x86-64 binaries in the arm64 image #803

Closed
slapula opened this issue Jul 30, 2022 · 0 comments · Fixed by #804
Closed

x86-64 binaries in the arm64 image #803

slapula opened this issue Jul 30, 2022 · 0 comments · Fixed by #804
Labels
bug This issue describes a defect or unexpected behavior carvel-accepted This issue should be considered for future work and that the triage process has been completed

Comments

@slapula
Copy link
Contributor

slapula commented Jul 30, 2022

What steps did you take:
In an effort to learn more about Carvel tools, I wanted to deploy kapp-controller to my raspberry pi cluster running k0s. I found that initial arm64 support was merged into the develop branch last month based on the work done in #680. I forked this repository and created a tag with the cherry-picked commits included so I could build an image that works for my cluster.

What happened:
The build process (in it's current form in develop) does not produce a kapp-controller binary that is arm64. Here's a peak inside the container:

kapp-controller [ / ]$ file kapp-controller
kapp-controller: ELF executable, 64-bit LSB x86-64, static, not stripped
kapp-controller [ / ]$ file kapp           
kapp: ELF executable, 64-bit LSB arm64, static, not stripped
kapp-controller [ / ]$ file kapp-controller-sidecarexec 
kapp-controller-sidecarexec: ELF executable, 64-bit LSB x86-64, static, not stripped
kapp-controller [ / ]$ file kbld                        
kbld: ELF executable, 64-bit LSB arm64, static, not stripped
kapp-controller [ / ]$ ls

What did you expect:
I expected arm64 image to contain arm64 compatible binaries when using the develop branch

Anything else you would like to add:
I will follow up this issue with a PR shortly since the problem is directly related to a typo in the Dockerfile.

Environment:

  • kapp Controller version (execute kubectl get deployment -n kapp-controller kapp-controller -o yaml and the annotation is kbld.k14s.io/images):
  • Kubernetes version (use kubectl version)

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@slapula slapula added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Jul 30, 2022
@benmoss benmoss added carvel-accepted This issue should be considered for future work and that the triage process has been completed and removed carvel-triage This issue has not yet been reviewed for validity labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a defect or unexpected behavior carvel-accepted This issue should be considered for future work and that the triage process has been completed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants