-
Notifications
You must be signed in to change notification settings - Fork 13
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
Multi-arch builds #200
Comments
Hi @cedricve, thanks for your question. I was also looking into this myself. Unfortunately the limitation here is that the balena CLI, which this action uses under the hood, does not yet support pushing multiple images for the same release to our registry, and it doesn't push the multi-arch manifest either. Multi-arch support is on our roadmap but we don't have an ETA for that feature yet or the implementation details for it. That being said, I am looking into adding a The action would look in its local image store for one or more What do you think about that as an interface? |
Thanks @pipex that would already make more sense. Where I think a lot of confusion starts is the difference between the "direct" deployment on Balena Hub and the forking of a fleet.
Bottom line is that it's really not straight forward to a users what is working and what is not. |
Hi again @cedricve, thanks for clarifiying, I think I was jumping the gun on what you were asking so I apologize. So as I mentioned before, the balena registry is single arch for now, this means, if you have a
when you do a The arm/v7 image can be used by any compatible device type, including arm/v8 devices (e.g. the pi4), since arm/v8 is backwards compatible, which explains the range of possible device types you see on the dashboard. A simple test can be done to confirm this, on a raspberry pi 4 device running balenaOS for arm64, I can do the following
I tested the same with the kerberos image
Which makes me think there might be something else going on when provisioning a rpi4 to the kerberos fleet. I would suggest trying to replicate the issue with your own fleet, that is, creating a raspberrypi3 fleet, pushing a release from the kerberos agent and then trying to provision a raspberry pi 4. Having access to the device via the dashboard will give you more visibility on what is going on. I would also encourage you to look in the forums for answers, as our community is very active and we do active support there as well. |
Thanks for explaining, I didn't know that v8 was backwards compatible. However that wouldn't solve the amd64 boards right, as the target board on your fleet is determining the specific architecture build. |
If your fleet is raspberry pi3 (armv7), you should be able to add raspberry pi 4 (armv8) devices to it, the other way around is not possible: a raspberry pi3 (arvm7) will fail if deployed into an armv8 fleet. |
Understood! So we’ll need to wait for the multi architecture capability. I think it would be nice and intuitive you can just select the right board (and under the hood the correct base image is selected arm or amd).
… On 27 Sep 2022, at 15:59, Felipe Lalanne ***@***.***> wrote:
If your fleet is raspberry pi3 (armv7), you should be able to add raspberry pi 4 (armv8) devices to it, the other way around is not possible: a raspberry pi3 (arvm7) will fail if deployed into an armv8 fleet.
—
Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AALZUGZJDZBITTH2ETIST5DWAL4VNANCNFSM6AAAAAAQSMJXRE>.
You are receiving this because you were mentioned.
|
I'm hoping to have more to share on multi-arch apps soon! |
exciting ! |
Hi @pipex Any updates on deploying for multi-architecture?
Currently Also, regarding
Consider allowing non-latest images, for example: Thanks |
Hey @avihaibd, thanks for your interest in this feature! Here is the related roadmap item that you can follow for updates! https://roadmap.balena.io/posts/28/mixed-architecture-fleets-and-apps In short, there are a lot of backend changes required to our API and database to support mixed device fleets, and multi-arch applications, but it is a priority project that we are excited to progress! |
Meanwhile, this is what I am doing
|
We are running a multi arch build in a github workflow using
docker buildx build
, and are wondering how to manage thebalena deploy
so all architecture images are merged in a single release.https://github.com/kerberos-io/agent/blob/master/.github/workflows/docker.yml#L63-L67
The text was updated successfully, but these errors were encountered: