-
Notifications
You must be signed in to change notification settings - Fork 655
Add multiarch support and docker manifests #336
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
Conversation
Welcome @Sh4d1! |
Hi @Sh4d1. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@Random-Liu @dchen1107 possible to get an ok to test? |
/ok-to-test |
Hmm it seems the failure are quite random 🤔 |
So blocked by kubernetes/test-infra#14091 for now |
@andyxning so according to kubernetes/test-infra#14091 we need to setup GCB. Is this okay? If yes I'll add a |
@dchen1107 @Random-Liu I'll ping you too 😅 |
So I'll setup gcb and cross compiling next week :) |
It seems really hard to do it in Prow (can't statically cross-compile thanks to go-systemd). I'll try to get some GCB runners for this project! |
Once kubernetes/test-infra#16790 is merged, it should be good to go |
01b1d68
to
127d956
Compare
Thanks for the explanation! I have never done multiarch work before, so I need to do some homework to learn about how other k8s projects support this.
This is the part I would need to learn more about :) Do you know any other k8s projects doing similar thing? If so, could you provide some reference (Makefile, PR, etc)? Then I could study them as a reference. Thanks! |
I've done quite the same with kubernetes-sigs/apiserver-network-proxy#38 and kubernetes-sigs/metrics-server#467 Not sure how other are doing it (iirc I took some inspiration from another k8s project, but can't recall which one 😅 ) Cross build is not working with npd because of systemd dependencies and some CGO code. But the basics of multi arch is to build each arch and then create a docker manifest (with the docker manifest) command and just push it :) |
This is great! Thanks for the pointers. I'll update (hopefully soon) when I finishes the homework. /assign @xueweiz |
Just ping if you have any questions 😄 |
code seems okay to me, |
fixes #135 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Sh4d1 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Sh4d1: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Signed-off-by: Patrik Cyvoct <[email protected]>
@xueweiz any news? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@Sh4d1: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fixes #135
This is #250 rebased on master with some additional fixes to make it work. (I was planning on making a PR on the fork of @mkumatag but he has to rebase his branch in ordre to merge it so creating a new PR sounded easier. (So most of the work was done by @mkumatag 😅)
Fixes: kubernetes/kubernetes#73364