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

Build Mayastor Kubectl Plugin for different platforms and architectures #1606

Closed
sherif-fanous opened this issue Mar 14, 2024 · 4 comments
Closed
Assignees

Comments

@sherif-fanous
Copy link

Is your feature request related to a problem? Please describe.

The Mayastor Kubectl plugin is only available as an x86_x64 binary thus cannot be installed on any Apple computer (Either Intel or Apple Silicon) which happen to be my daily driver

While I understand that building and testing ARM64 images for Mayastor itself would be a large endeavor I'm hoping that making the plugin available for other platforms/architectures (e.g. ARM64, Apple x86_x64 and Apple Silicon) would be just a matter of cross compiling the binary.

Describe the solution you'd like
Build the Mayastor Kubectl Plugin for other platforms and architectures

Describe alternatives you've considered
Install the plugin in a Docker container

@tiagolobocastro
Copy link
Contributor

We cross-compile to arm64 atm, but IIRC we had issues cross compiling from darwin x86_64 to darwin arm64.
I'll see what the state of things is atm..
You can still run the x86_64 binary on arm64 darwin using rosetta though!

@tiagolobocastro tiagolobocastro self-assigned this Mar 15, 2024
@tiagolobocastro
Copy link
Contributor

Alright, seems we now have aarch64 darwin runners!
openebs/mayastor-extensions#442
Could you please try this binary: https://github.com/openebs/mayastor-extensions/actions/runs/8289637439/artifacts/1328050608

@sherif-fanous
Copy link
Author

Works!!!

Thanks @tiagolobocastro

@tiagolobocastro
Copy link
Contributor

Alright, it's merged and show be available for 2.6 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants