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

Building on a non-Intel MacBook produces ARM64 images which won't run in an x86_64 cluster #100

Open
drmorr0 opened this issue Mar 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working build tools Improvements to the build scripts or pipelines sk-ctrl Issues with the Simulation controller sk-driver Issues with the Simulation runner sk-tracer Issues with the Kubernetes tracer

Comments

@drmorr0
Copy link
Contributor

drmorr0 commented Mar 1, 2024

Describe the bug

Building sk-ctrl, sk-tracer, and sk-driver on an ARM64 MacBook builds ARM64 binaries even with the ubuntu:latest Docker build image selected. We need to cross-compile for x86_64 in this case.

Steps to reproduce

  1. make build img on an ARM MacBook
  2. try to deploy the images to an x86_64 cluster

Expected behavior

It should work

@drmorr0 drmorr0 self-assigned this Mar 1, 2024
@drmorr0
Copy link
Contributor Author

drmorr0 commented Mar 1, 2024

@BigValen has a branch which possibly fixes this, or at least makes it easier:

https://github.com/BigValen/simkube/blob/master/Makefile

Would be nice to also have some instructions for how to use.

@drmorr0 drmorr0 added bug Something isn't working sk-ctrl Issues with the Simulation controller sk-tracer Issues with the Kubernetes tracer sk-driver Issues with the Simulation runner build tools Improvements to the build scripts or pipelines labels Mar 1, 2024
@drmorr0
Copy link
Contributor Author

drmorr0 commented Mar 1, 2024

Also it would be nice if we can add automated tests for this in GitHub actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build tools Improvements to the build scripts or pipelines sk-ctrl Issues with the Simulation controller sk-driver Issues with the Simulation runner sk-tracer Issues with the Kubernetes tracer
Projects
None yet
Development

No branches or pull requests

1 participant