-
Notifications
You must be signed in to change notification settings - Fork 74
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
Support make container on arm64 architecture #59
Conversation
- judge the arch in build.make, set BASE_IMAGE to discolix/static:latest when ARCH is arm64. Signed-off-by: wangzihao <wangzihao18@huawei.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Wangzihao18 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 |
Welcome @Wangzihao18! |
Hi @Wangzihao18. Thanks for your PR. I'm waiting for a kubernetes-csi 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. |
# Specific BASE_IMAGE for different arch, default BASE_IMAGE gcr.io/distroless is for x86, discolix/static is for arm. | ||
BASE_IMAGE=gcr.io/distroless/static:latest | ||
ifeq (${ARCH}, arm64) | ||
BASE_IMAGE=discolix/static:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image doesn't seem very widely used. I am checking to see if the Kubernetes project has another recommended base image for arm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @msau42. I found it in this repo https://github.com/discolix/discolix.
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. |
@wangzihao3: 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. |
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. |
Superseded by PR #87, except that arm64 is not enabled yet? |
@cyb70289 yes, please verify that all of the Kubernetes-CSI repos build for ARM, then submit a PR against csi-release-tools which adds arm64. That then will be rolled out to the other repos before the next sidecar releases. |
@pohly thank you. I tested |
Yes, please do. |
PR created #91 |
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 kubernetes-csi/external-provisioner#381
Signed-off-by: wangzihao wangzihao18@huawei.com