samba-in-kubernetes/samba-container

Add AARCH64 Support

Closed this issue · 7 comments

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?

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.

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?

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?

@anoopcs9 I encountered the same issue described here: containers/podman#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.

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.

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:

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