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

Provide arm64 multiarch images on quay.io #4773

Closed
everflux opened this issue Jan 2, 2020 · 35 comments · Fixed by #10107
Closed

Provide arm64 multiarch images on quay.io #4773

everflux opened this issue Jan 2, 2020 · 35 comments · Fixed by #10107
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@everflux
Copy link

everflux commented Jan 2, 2020

/kind feature

Description

Currently only amd64 images are available for podman and buildah on
quay.io/podman/stable
This prevents usage on ARM64 architectures.
Please provide multi-arch images and according manifests.

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 2, 2020
@rhatdan
Copy link
Member

rhatdan commented Jan 2, 2020

@TomSweeneyRedHat PTAL

@rhatdan
Copy link
Member

rhatdan commented Jan 2, 2020

@everflux Any help you could provide, IE Opening a PR, would help move this along.

@github-actions
Copy link

github-actions bot commented Feb 2, 2020

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Feb 18, 2020

@TomSweeneyRedHat Any chance to look at this? @nalind could you help with this?

@MaxPeal
Copy link

MaxPeal commented Jun 4, 2020

+1

@rhatdan
Copy link
Member

rhatdan commented Sep 10, 2020

@TomSweeneyRedHat Could you take a look?

@TomSweeneyRedHat
Copy link
Member

I'm happy to look, but I've not a clue on where to start. I'll have to dig deeply into Google. Pointers gratefully accepted.

@rhatdan
Copy link
Member

rhatdan commented Sep 11, 2020

I was hoping @cevich could jump in an offer up a way to do this on CIRRUS. Basically we need an arm64 vm with buildah/go ... installed, and have it build the images. Once we have images built for different arches, we need something to reassemble them into a manifest, I believe.

@rhatdan
Copy link
Member

rhatdan commented Sep 11, 2020

Perhaps @nalind has some ideas.

@cevich
Copy link
Member

cevich commented Sep 12, 2020

I'm happy to advise, but there are no ready-to-go options here. Non-commodity hardware is a big ask for every cloud-provider. I'm told even the IBM cloud tightly controls ppc64 😖 We're really beholden to the cloud-providers here if we want something automated and public.

I did open up:

containers/automation_images#21

That image has nested-virt. enabled. My main concern is performance; however, It's worth investigating further as this may actually be the most-viable option. Test/play with qemu-kvm using hack/get_ci_vm fedora-c4566280017543168 should work as per usual, though you will need to install qemu-kvm. Ref: https://wiki.qemu.org/Documentation/Platforms/ARM

The only other idea I have is to work with cirrus-support to get a job running in AWS, which offers ARM VMs (when special-magic incantations are uttered). This is a long/hard road, as I have almost zero knowledge of AWS nor do we have any VM-image build setup.

@rhatdan
Copy link
Member

rhatdan commented Sep 15, 2020

@nalind is this something you could attempt with your presentation from Devconf.cz?

@nalind
Copy link
Member

nalind commented Sep 16, 2020

I believe so. There are some things ahead of it in my to-do list, though.

@rhatdan
Copy link
Member

rhatdan commented Sep 21, 2020

I have been told that the SUSE build servers might be a possibility for this?

@nalind
Copy link
Member

nalind commented Sep 21, 2020

If I'm reading https://en.opensuse.org/openSUSE:Build_Service_supported_build_targets#Supported_processor_platforms right, it'd be broader than what we have now.

@ppouliot
Copy link

ppouliot commented Oct 2, 2020

Hey Everyone,

If you are looking for ARM64 vm resources for the project. Feel free to send a request here. OpenStack API access can be provided.

https://osuosl.org/services/aarch64/request_hosting/

@woodrad
Copy link

woodrad commented Oct 23, 2020

I don't know enough to meaningfully contribute to this issue, but lacking a rootless CNI image on quay.io makes it difficult to use rootless podman on popular aarch64 devices like the Raspberry Pi. I am willing to write howto documentation, for what it's worth.

@rhatdan
Copy link
Member

rhatdan commented Dec 24, 2020

I have opened a PR on Buildah to make building these images via emulation a lot easier.

containers/buildah#2869

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Jan 27, 2021

Buildah can now build multi-arch images. Now we just need to setup something to push them.
@vrothberg @lsm5 Is this something to do on OBS? Can we setup a cron job to build and push images from there?

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Mar 1, 2021

@cevich Now that we have support for this with Buildah, can we do similar for Podman

@cevich
Copy link
Member

cevich commented Mar 1, 2021

Ya, I can more/less copy-paste the github action (I don't 100% understand how build-x works). What are the FQIN's you'd like built and pushed when master changes?

@cevich cevich self-assigned this Mar 1, 2021
@cevich
Copy link
Member

cevich commented Mar 1, 2021

Created Jira card RUN-1188

@TomSweeneyRedHat
Copy link
Member

@cevich I can't get into Jira at the moment for some reason. I don't know if you as the conversation with @barthy1 in the Buildah repo, but we need to create the podman/stable:{version} and containers/podman:{version] tags one and only one time. If that means we need to do that "by hand" as we have been doing, I'm fine with that. containers/buildah#3059

@cevich
Copy link
Member

cevich commented Mar 9, 2021

okay. My plan was to use the buildah workflow as a starting place, so I'll keep that in mind.

@github-actions
Copy link

github-actions bot commented Apr 9, 2021

A friendly reminder that this issue had no activity for 30 days.

@cevich
Copy link
Member

cevich commented Apr 9, 2021

Thanks for the friendly reminder.

@rhatdan
Copy link
Member

rhatdan commented Apr 12, 2021

Don't we have something for this on Buildah now? @TomSweeneyRedHat ?

@cevich
Copy link
Member

cevich commented Apr 13, 2021

Yes, I have a jira card to employ the buildah method on the podman repo.

@cevich
Copy link
Member

cevich commented Apr 19, 2021

working on this now

@georgettica
Copy link

To make sure I am not butchering something..
Does quay allow arm64 deployment?
https://www.reddit.com/r/kubernetes/comments/uzvozb/_/

@rhatdan
Copy link
Member

rhatdan commented May 31, 2022

Yes I am almost certain we store arm64 images on quay.

@georgettica
Copy link

@rhatdan can you comment on the thread then with the details?

@rhatdan
Copy link
Member

rhatdan commented May 31, 2022

@cevich ANy reason we can't support that arch?

@cevich
Copy link
Member

cevich commented Jun 1, 2022

Confirmed, we're build arm64, I just checked using skopeo inspect --raw .... Though builds are broken since F36 dropped with a fix coming very soon.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants