-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 multi-arch images using fat manifests #1645
Comments
@skriss Your thoughts on how to go ahead with this? |
After talking with @Prajyot-Parab -- it sounds like we'll need to get a better idea of your current build pipeline flow. It looks like you're currently using Travis? That's great b/c it has power nodes available, and we can add pipeline steps with |
The images are currently built on a private Jenkins server, rather than as part of the Travis CI workflow. Only tests are run with Travis. This needs to be moved, for sure. I don't know that we've settled on Travis yet, as there's some consolidation that needs to happen between VMware and Heptio repos, and there's a risk that Travis queues would be very long in the shared org. Some other open source teams here are looking into how to address this, so I'll talk to them to see what they're doing. So that may be a dependency before committing to how to build ppc images. |
Aaah, thanks for solving that mystery. We can get you a VM to plug into your jenkins job if you're okay with connecting out to the world. Otherwise, Travis is the easiest to hook a Power build into at the moment. There are also some cloud options if you'd rather not use a pet VM. That just wouldn't be free. |
@Prajyot-Parab or @clnperez Do we need a ppc VM to do the build? Is doing a go cross compile and then building the images not enough? I'm not familiar with running on ppc. |
It looks like in this case a cross-compile would be doable. I took another look at the Dockerfile.ppc64le, and you could change that up to do the wget of the restic binary outside of the container, cross-compile the valero binary for Power, then do a |
Or a multistage build where the first part is a native arch with the required downloads etc to cross build the required parts, and the second |
Any update here? |
We have the same issue with arm64. The image used by the helm chart doesn't have an arm manifest, just amd64. Multiarch images aren't hard to build with buildx. |
@autarchprinceps Velero is already using |
Describe the problem/challenge you have
Describe the solution you'd like
Environment:
velero version
): v1.0.0kubectl version
): v1.12.4/etc/os-release
): Ubuntu 16.04The text was updated successfully, but these errors were encountered: