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

Switch to buildx for building multi architecture images #1864

Merged
merged 1 commit into from
Jan 22, 2021
Merged

Switch to buildx for building multi architecture images #1864

merged 1 commit into from
Jan 22, 2021

Conversation

saschagrunert
Copy link
Member

@saschagrunert saschagrunert commented Jan 21, 2021

What type of PR is this?

/kind feature

What this PR does / why we need it:

This updates the debian-{base,hyperkube-base,iptables} images to use
docker buildx (aka buildkit) for multi architecture images.

The corresponding qemu version for debian-base has been bumped to
version 5.2.0.

Which issue(s) this PR fixes:

Working follow-up of #1849

Special notes for your reviewer:

/hold for discussion if we really want to bump qemu

Does this PR introduce a user-facing change?

- Switch to docker buildx for building `debian-base`, `debian-iptables` and `debian-hyperkube-base` container images

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 21, 2021
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. labels Jan 21, 2021
@saschagrunert
Copy link
Member Author

Test run, where the build succeeds: https://console.cloud.google.com/cloud-build/builds/a4d4278a-24f5-4f83-a0c4-de6bae17eddc?project=k8s-staging-build-image (the push fails, which seems to be fine)

@saschagrunert
Copy link
Member Author

/assign @justaugustus

@saschagrunert saschagrunert changed the title Switch to buildkit for building multi architecture images Switch to buildx for building multi architecture images Jan 21, 2021
@justaugustus
Copy link
Member

/hold for some private discussion about the stretch images...

This updates the `debian-{base,hyperkube-base,iptables}` images to use
docker buildx (aka buildkit) for multi architecture images.

The corresponding qemu version for `debian-base` has been bumped to
version 5.2.0.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 22, 2021
@saschagrunert
Copy link
Member Author

@justaugustus changed the PR to include stretch again that we can move forward with this PR.

@justaugustus
Copy link
Member

/lgtm
/approve
/hold cancel

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jan 22, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 4d30c63 into kubernetes:master Jan 22, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.21 milestone Jan 22, 2021
@saschagrunert saschagrunert deleted the buildx branch January 22, 2021 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants