samba-in-kubernetes / samba-container

Build Samba Container Images / Kubernetes & Container Runtime Example Files
GNU General Public License v3.0
47 stars 17 forks source link

Add AARCH64 Support #155

Open SeboKnt opened 1 year ago

SeboKnt commented 1 year ago

Hi, on my K8s cluster on the x86/Ubuntu nodes it works fine (thanks for that) but it's a multi-arch cluster and I can't migrate the container to my arm64/Alpine nodes. Are there any plans to make the container available for arm architecture?

phlogistonjohn commented 1 year ago

Yes! There are plans to support aarch64 (aka arm64). There's already partial support for it in our build scripts today. There are no arm64 builders available through github so the plan is to use podman (with qemu support built in) to build arm64 images on github. You can try this yourself by running make BUILD_ARCH=arm64 build-server, for example.

What we still need to do is update the scripts to use manifests so that the official images we push to quay.io have proper multi-arch support. Thanks for letting us know you're interested in this area, it helps us prioritize the work.

apexkode commented 9 months ago

Hi I would also like support for arm64 arch, however I am struggling to build with the instructions provided, is there a timeline for when arm64 builds will be available on quay.io?

anoopcs9 commented 9 months ago

Hi I would also like support for arm64 arch, however I am struggling to build with the instructions provided,

What are the issues you have seen with podman by running make BUILD_ARCH=arm64 build-server?

apexkode commented 9 months ago

@anoopcs9 I encountered the same issue described here: https://github.com/containers/podman/issues/18483 Which does not seem to be directly related to this project but rather an issue in podman and Fedora (possibly), but did not yet try the work around which was suggested as I did not want to rm -rf my container directory, I was going to look further into this when I had more time.

phlogistonjohn commented 9 months ago

There's no timeline, sorry.

I don't know if there's a good way to work around the podman issue. I understand your reluctance to simply delete your containers directory. You probably thought of this already, but maybe you could find a different spare node to build on?

FWIW I'd be happy to work with any one who can make contributions to the build scripts in order to start building for arm64 as most of the infrastructure should be there. I just personally don't have the time for it myself right now.

mogeko commented 5 months ago

Nowadays, the Arm-based hosted runners in GitHub Actions is in Beta. Perhaps in the near future, we will see the samba-container working on the Arm node.

See:

phlogistonjohn commented 5 months ago

I didn't know about that. Thanks for the heads up!