Skip to content

Commit 3ccff99

Browse files
Merge pull request #10 from kubernetes/master
[pull] master from kubernetes:master
2 parents 10b1bd1 + c56d964 commit 3ccff99

File tree

71 files changed

+1830
-294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1830
-294
lines changed

.github/workflows/sbom.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
1515
- name: Install bom
16-
uses: kubernetes-sigs/release-actions/setup-bom@10fecc1c66829d291b2f2fb1a27329d152f212e6 # main
16+
uses: kubernetes-sigs/release-actions/setup-bom@841d76a188a7c121231a863572e27012805715a2 # main
1717
- name: Generage SBOM
1818
run: |
1919
bom generate -o minikube_${{github.ref_name}}_sbom.spdx \
+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: "update-crun-version"
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# every Wednesday at around 3 am pacific/10 am UTC
6+
- cron: "0 10 * * 3"
7+
env:
8+
GOPROXY: https://proxy.golang.org
9+
GO_VERSION: '1.22.1'
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
bump-crun-version:
15+
runs-on: ubuntu-20.04
16+
steps:
17+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
18+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
19+
with:
20+
go-version: ${{env.GO_VERSION}}
21+
cache-dependency-path: ./go.sum
22+
- name: Bump crun Version
23+
id: bumpCrun
24+
run: |
25+
echo "OLD_VERSION=$(DEP=crun make get-dependency-version)" >> "$GITHUB_OUTPUT"
26+
make update-crun-version
27+
echo "NEW_VERSION=$(DEP=crun make get-dependency-version)" >> "$GITHUB_OUTPUT"
28+
# The following is to support multiline with GITHUB_OUTPUT, see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
29+
echo "changes<<EOF" >> "$GITHUB_OUTPUT"
30+
echo "$(git status --porcelain)" >> "$GITHUB_OUTPUT"
31+
echo "EOF" >> "$GITHUB_OUTPUT"
32+
- name: Create PR
33+
id: createPR
34+
if: ${{ steps.bumpCrun.outputs.changes != '' }}
35+
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e
36+
with:
37+
token: ${{ secrets.MINIKUBE_BOT_PAT }}
38+
commit-message: 'Kicbase/ISO: Update crun from ${{ steps.bumpCrun.outputs.OLD_VERSION }} to ${{ steps.bumpCrun.outputs.NEW_VERSION }}'
39+
committer: minikube-bot <[email protected]>
40+
author: minikube-bot <[email protected]>
41+
branch: auto_bump_crun_version
42+
branch-suffix: short-commit-hash
43+
push-to-fork: minikube-bot/minikube
44+
base: master
45+
delete-branch: true
46+
title: 'Kicbase/ISO: Update crun from ${{ steps.bumpCrun.outputs.OLD_VERSION }} to ${{ steps.bumpCrun.outputs.NEW_VERSION }}'
47+
body: |
48+
The crun project released a [new version](https://github.com/containers/crun/releases)
49+
50+
This PR was auto-generated by `make update-crun-version` using [update-crun-version.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-crun-version.yml) CI Workflow.
51+
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
52+
if: ${{ steps.bumpCrun.outputs.changes != '' }}
53+
with:
54+
github-token: ${{ secrets.MINIKUBE_BOT_PAT }}
55+
script: |
56+
github.rest.issues.createComment({
57+
issue_number: ${{ steps.createPR.outputs.pull-request-number }},
58+
owner: context.repo.owner,
59+
repo: context.repo.repo,
60+
body: 'ok-to-build-image'
61+
})
62+
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
63+
if: ${{ steps.bumpCrun.outputs.changes != '' }}
64+
with:
65+
github-token: ${{ secrets.MINIKUBE_BOT_PAT }}
66+
script: |
67+
github.rest.issues.createComment({
68+
issue_number: ${{ steps.createPR.outputs.pull-request-number }},
69+
owner: context.repo.owner,
70+
repo: context.repo.repo,
71+
body: 'ok-to-build-iso'
72+
})

.github/workflows/update-iso-image-versions.yml

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
OLD_CONTAINERD=$(DEP=containerd make get-dependency-version)
2424
OLD_CRIO=$(DEP=cri-o make get-dependency-version)
2525
OLD_CRICTL=$(DEP=crictl make get-dependency-version)
26+
OLD_CRUN=$(DEP=crun make get-dependency-version)
2627
OLD_DOCKER=$(DEP=docker make get-dependency-version)
2728
OLD_GO=$(DEP=go make get-dependency-version)
2829
OLD_NERDCTL=$(DEP=nerdctl make get-dependency-version)
@@ -35,6 +36,7 @@ jobs:
3536
# Uncomment after crictl/cri-o issue resolved: https://github.com/kubernetes/minikube/issues/18359
3637
# make update-cri-o-version
3738
# make update-crictl-version
39+
make update-crun-version
3840
make update-docker-version
3941
make update-golang-version
4042
make update-nerdctl-version
@@ -46,6 +48,7 @@ jobs:
4648
NEW_CONTAINERD=$(DEP=containerd make get-dependency-version)
4749
NEW_CRIO=$(DEP=cri-o make get-dependency-version)
4850
NEW_CRICTL=$(DEP=crictl make get-dependency-version)
51+
NEW_CRUN=$(DEP=crun make get-dependency-version)
4952
NEW_DOCKER=$(DEP=docker make get-dependency-version)
5053
NEW_GO=$(DEP=go make get-dependency-version)
5154
NEW_NERDCTL=$(DEP=nerdctl make get-dependency-version)
@@ -73,6 +76,10 @@ jobs:
7376
echo "### Update crictl from $OLD_CRICTL to $NEW_CRICTL" >> "$GITHUB_OUTPUT"
7477
echo "[Release notes](https://github.com/kubernetes-sigs/cri-tools/releases)" >> "$GITHUB_OUTPUT"
7578
fi
79+
if [ "$OLD_CRUN" != "$NEW_CRUN" ]; then
80+
echo "### Update crun from $OLD_CRUN to $NEW_CRUN" >> "$GITHUB_OUTPUT"
81+
echo "[Release notes](https://github.com/containers/crun/releases)" >> "$GITHUB_OUTPUT"
82+
fi
7683
if [ "$OLD_DOCKER" != "$NEW_DOCKER" ]; then
7784
echo "### Update Docker from $OLD_DOCKER to $NEW_DOCKER" >> "$GITHUB_OUTPUT"
7885
echo "[Release notes](https://github.com/moby/moby/releases)" >> "$GITHUB_OUTPUT"

CHANGELOG.md

+142-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,146 @@
11
# Release Notes
22

3+
## Version 1.33.0-beta.0 - 2024-03-26
4+
5+
Features:
6+
* Support multi-control plane - HA clusters `--ha` [#17909](https://github.com/kubernetes/minikube/pull/17909)
7+
* Addon gvisor: Add arm64 support [#18063](https://github.com/kubernetes/minikube/pull/18063) [#18453](https://github.com/kubernetes/minikube/pull/18453)
8+
* New Addon: YAKD - Kubernetes Dashboard addon [#17775](https://github.com/kubernetes/minikube/pull/17775)
9+
10+
Minor Improvements:
11+
* Addon auto-pause: Remove memory leak & add configurable interval [#17936](https://github.com/kubernetes/minikube/pull/17936)
12+
* image build: Add `docker.io/library` to image short names [#16214](https://github.com/kubernetes/minikube/pull/16214)
13+
* cp: Create directory if not present [#17715](https://github.com/kubernetes/minikube/pull/17715)
14+
* Move errors getting logs into log output itself [#18007](https://github.com/kubernetes/minikube/pull/18007)
15+
* Add default sysctls to allow privileged ports with no capabilities [#18421](https://github.com/kubernetes/minikube/pull/18421)
16+
* Include extended attributes in preload tarballs [#17829](https://github.com/kubernetes/minikube/pull/17829)
17+
* Apply `kubeadm.applyNodeLabels` label to all nodes [#16416](https://github.com/kubernetes/minikube/pull/16416)
18+
* Limit driver status check to 20s [#17553](https://github.com/kubernetes/minikube/pull/17553)
19+
* Include journalctl logs if systemd service fails to start [#17659](https://github.com/kubernetes/minikube/pull/17659)
20+
* ISO: Add CONFIG_DM_MULTIPATH [#18277](https://github.com/kubernetes/minikube/pull/18277)
21+
* ISO: Add CONFIG_QFMT_V2 for arm64 [#17991](https://github.com/kubernetes/minikube/pull/17991)
22+
* ISO: Add CONFIG_CEPH_FS for arm64 [#18213](https://github.com/kubernetes/minikube/pull/18213)
23+
* ISO: Add CONFIG_BPF for arm64 [#17206](https://github.com/kubernetes/minikube/pull/17206)
24+
25+
Bugs:
26+
* Fix "Failed to enable container runtime: sudo systemctl restart cri-docker" [#17907](https://github.com/kubernetes/minikube/pull/17907)
27+
* Fix containerd redownloading existing images on start [#17671](https://github.com/kubernetes/minikube/pull/17671)
28+
* Fix kvm2 not detecting containerd preload [#17658](https://github.com/kubernetes/minikube/pull/17658)
29+
* Fix modifying Docker binfmt config [#17830](https://github.com/kubernetes/minikube/pull/17830)
30+
* Fix auto-pause addon [#17866](https://github.com/kubernetes/minikube/pull/17866)
31+
* Fix not using preload with overlayfs storage driver [#18333](https://github.com/kubernetes/minikube/pull/18333)
32+
* Fix image repositories not allowing subdomains with numbers [#17496](https://github.com/kubernetes/minikube/pull/17496)
33+
* Fix stopping cluster when using kvm2 with containerd [#17967](https://github.com/kubernetes/minikube/pull/17967)
34+
* Fix starting more than one cluster on kvm2 arm64 [#18241](https://github.com/kubernetes/minikube/pull/18241)
35+
* Fix starting kvm2 clusters using Linux on arm64 Mac [#18239](https://github.com/kubernetes/minikube/pull/18239)
36+
* Fix displaying error when deleting non-existing cluster [#17713](https://github.com/kubernetes/minikube/pull/17713)
37+
* Fix no-limit not being respected on restart [#17598](https://github.com/kubernetes/minikube/pull/17598)
38+
* Fix not applying `kubeadm.applyNodeLabels` label to nodes added after inital start [#16416](https://github.com/kubernetes/minikube/pull/16416)
39+
* Fix logs delimiter output [#17734](https://github.com/kubernetes/minikube/pull/17734)
40+
41+
Version Upgrades:
42+
* Bump Kubernetes version default: v1.29.3 and latest: v1.30.0-beta.0 [#17786](https://github.com/kubernetes/minikube/pull/17786)
43+
* Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.11 to 1.5.15 [#17595](https://github.com/kubernetes/minikube/pull/17595) [#17847](https://github.com/kubernetes/minikube/pull/17847) [#18165](https://github.com/kubernetes/minikube/pull/18165) [#18431](https://github.com/kubernetes/minikube/pull/18431)
44+
* Addon gcp-auth: Update k8s-minikube/gcp-auth-webhook image from v0.1.0 to v0.1.2 [#18222](https://github.com/kubernetes/minikube/pull/18222) [#18384](https://github.com/kubernetes/minikube/pull/18384)
45+
* Addon headlamp: Update headlamp-k8s/headlamp image from v0.20.1 to v0.23.0 [#17586](https://github.com/kubernetes/minikube/pull/17586) [#17846](https://github.com/kubernetes/minikube/pull/17846) [#18320](https://github.com/kubernetes/minikube/pull/18320)
46+
* Addon ingress: Update ingress-nginx/controller image from v1.9.4 to v1.10.0 [#17848](https://github.com/kubernetes/minikube/pull/17848) [#18166](https://github.com/kubernetes/minikube/pull/18166) [#18284](https://github.com/kubernetes/minikube/pull/18284)
47+
* Addon inspektor-gadget: Update inspektor-gadget/inspektor-gadget image from v0.22.0 to v0.26.0 [#17740](https://github.com/kubernetes/minikube/pull/17740) [#17885](https://github.com/kubernetes/minikube/pull/17885) [#18169](https://github.com/kubernetes/minikube/pull/18169) [#18358](https://github.com/kubernetes/minikube/pull/18358)
48+
* Addon istio-provisioner: Update istio/operator image from 1.19.3 to 1.21.0 [#17651](https://github.com/kubernetes/minikube/pull/17651) [#17777](https://github.com/kubernetes/minikube/pull/17777) [#17957](https://github.com/kubernetes/minikube/pull/17957) [#18168](https://github.com/kubernetes/minikube/pull/18168) [#18429](https://github.com/kubernetes/minikube/pull/18429)
49+
* Addon kong: Update kong image from 3.4.2 to 3.6.1 [#17605](https://github.com/kubernetes/minikube/pull/17605) [#18200](https://github.com/kubernetes/minikube/pull/18200) [#18350](https://github.com/kubernetes/minikube/pull/18350)
50+
* Addon kubevirt: Update bitnami/kubectl image from 1.24.7 to 1.29.3 [#18170](https://github.com/kubernetes/minikube/pull/18170) [#18187](https://github.com/kubernetes/minikube/pull/18187) [#18427](https://github.com/kubernetes/minikube/pull/18427)
51+
* Addon metrics-server: Update metrics-server/metrics-server image from v0.6.4 to v0.7.0 [#18051](https://github.com/kubernetes/minikube/pull/18051)
52+
* Addon nvidia-device-plugin: Update nvidia/k8s-device-plugin image from v0.14.2 to v0.14.5 [#17623](https://github.com/kubernetes/minikube/pull/17623) [#18171](https://github.com/kubernetes/minikube/pull/18171) [#18283](https://github.com/kubernetes/minikube/pull/18283)
53+
* Addon registry: Update k8s-minikube/kube-registry-proxy image from 0.0.5 to 0.0.6 [#18454](https://github.com/kubernetes/minikube/pull/18454)
54+
* CNI: Update calico from v3.26.3 to v3.27.0 [#17644](https://github.com/kubernetes/minikube/pull/17644) [#17824](https://github.com/kubernetes/minikube/pull/17824)
55+
* CNI: Update cilium from v1.12.3 to v1.15.1 [#18259](https://github.com/kubernetes/minikube/pull/18259)
56+
* CNI: Update flannel from v0.22.3 to v0.24.4 [#17837](https://github.com/kubernetes/minikube/pull/17837) [#17975](https://github.com/kubernetes/minikube/pull/17975) [#18014](https://github.com/kubernetes/minikube/pull/18014) [#18500](https://github.com/kubernetes/minikube/pull/18500)
57+
* CNI: Update kindnetd from v20230809-80a64d96 to v20240202-8f1494ea [#18167](https://github.com/kubernetes/minikube/pull/18167)
58+
* Kicbase/ISO: Update buildkit from v0.12.3 to v0.13.0 [#17738](https://github.com/kubernetes/minikube/pull/17738) [#18375](https://github.com/kubernetes/minikube/pull/18375)
59+
* Kicbase/ISO: Update cni-plugins from v1.3.0 to v1.4.1 [#17761](https://github.com/kubernetes/minikube/pull/17761) [#18375](https://github.com/kubernetes/minikube/pull/18375)
60+
* Kicbase/ISO: Update containerd from v1.7.8 to v1.7.14 [#17634](https://github.com/kubernetes/minikube/pull/17634) [#17711](https://github.com/kubernetes/minikube/pull/17711) [#17765](https://github.com/kubernetes/minikube/pull/17765) [#18375](https://github.com/kubernetes/minikube/pull/18375)
61+
* Kicbase/ISO: Update docker from 24.0.7 to 25.0.4 [#18375](https://github.com/kubernetes/minikube/pull/18375)
62+
* Kicbase/ISO: Update Go from 1.21.3 to 1.22.1 [#17619](https://github.com/kubernetes/minikube/pull/17619) [#17760](https://github.com/kubernetes/minikube/pull/17760) [#17953](https://github.com/kubernetes/minikube/pull/17953) [#18197](https://github.com/kubernetes/minikube/pull/18197) [#18375](https://github.com/kubernetes/minikube/pull/18375)
63+
* Kicbase/ISO: Update nerdctl from 1.6.2 to 1.7.4 [#17565](https://github.com/kubernetes/minikube/pull/17565) [#17703](https://github.com/kubernetes/minikube/pull/17703) [#17806](https://github.com/kubernetes/minikube/pull/17806) [#18375](https://github.com/kubernetes/minikube/pull/18375)
64+
* Kicbase/ISO: Update runc from v1.1.9 to v1.1.12 [#17581](https://github.com/kubernetes/minikube/pull/17581) [#18020](https://github.com/kubernetes/minikube/pull/18020) [#18375](https://github.com/kubernetes/minikube/pull/18375)
65+
* Kicbase: Update nerdctld from 0.2.0 to 0.5.1 [#17764](https://github.com/kubernetes/minikube/pull/17764) [#17857](https://github.com/kubernetes/minikube/pull/17857)
66+
* Kicbase: Update ubuntu:jammy from 20231004 to 20240227 [#17719](https://github.com/kubernetes/minikube/pull/17719) [#17822](https://github.com/kubernetes/minikube/pull/17822) [#18244](https://github.com/kubernetes/minikube/pull/18244) [#18375](https://github.com/kubernetes/minikube/pull/18375)
67+
* ISO: Update cri-o from v1.24.1 to v1.29.1 [#18020](https://github.com/kubernetes/minikube/pull/18020)
68+
69+
For a more detailed changelog, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
70+
71+
Thank you to our contributors for this release!
72+
73+
- Alberto Faria
74+
- Anders F Björklund
75+
- Blaine Gardner
76+
- Camille Clayton
77+
- Chase, Justin M
78+
- Dani
79+
- Eng Zer Jun
80+
- Francis Laniel
81+
- Jan Klippel
82+
- Jeff MAURY
83+
- Jin Li
84+
- Jongwoo Han
85+
- Marc Nuri
86+
- Marcell Martini
87+
- Marcus Dunn
88+
- Mark Moretto
89+
- Martin Jirku
90+
- Medya Ghazizadeh
91+
- Nir Soffer
92+
- Predrag Rogic
93+
- Pris Nasrat
94+
- Raiden Shogun
95+
- Sandipan Panda
96+
- Sonu Kumar Singh
97+
- Steven Powell
98+
- Tarishi Jain
99+
- Timothée Ravier
100+
- Yuri Astrakhan
101+
- andy
102+
- chahatjaink
103+
- coderrick
104+
- joaquimrocha
105+
- lixin18
106+
- ljtian
107+
- mahmut
108+
- mattrobinsonsre
109+
- prnvkv
110+
- shixiuguo
111+
- sunyuxuan
112+
- sunyuxuna
113+
- syxunion
114+
- tianlj
115+
- zdxgs
116+
- zjx20
117+
118+
Thank you to our PR reviewers for this release!
119+
120+
- spowelljr (55 comments)
121+
- medyagh (27 comments)
122+
- afbjorklund (14 comments)
123+
- liangyuanpeng (11 comments)
124+
- prezha (4 comments)
125+
- ComradeProgrammer (3 comments)
126+
- acumino (2 comments)
127+
- aiyijing (2 comments)
128+
- Fenrur (1 comments)
129+
- allenhaozi (1 comments)
130+
- dharmit (1 comments)
131+
- maximiliankolb (1 comments)
132+
- neolit123 (1 comments)
133+
134+
Thank you to our triage members for this release!
135+
136+
- afbjorklund (70 comments)
137+
- caerulescens (37 comments)
138+
- T-Lakshmi (31 comments)
139+
- spowelljr (22 comments)
140+
- kundan2707 (20 comments)
141+
142+
Check out our [contributions leaderboard](https://minikube.sigs.k8s.io/docs/contrib/leaderboard/v1.33.0-beta.0/) for this release!
143+
3144
## Version 1.32.0 - 2023-11-07
4145

5146
Features:
@@ -44,7 +185,7 @@ Thank you to our triage members for this release!
44185
- ceelian (1 comments)
45186
- idoly (1 comments)
46187

47-
## Version 1.32.0-beta0 - 2023-10-27
188+
## Version 1.32.0-beta.0 - 2023-10-27
48189

49190
Features:
50191
* NVIDIA GPU support with new `--gpus=nvidia` flag for docker driver [#15927](https://github.com/kubernetes/minikube/pull/15927) [#17314](https://github.com/kubernetes/minikube/pull/17314) [#17488](https://github.com/kubernetes/minikube/pull/17488)

Makefile

+11-9
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
# Bump these on release - and please check ISO_VERSION for correctness.
1616
VERSION_MAJOR ?= 1
17-
VERSION_MINOR ?= 32
18-
VERSION_BUILD ?= 0
17+
VERSION_MINOR ?= 33
18+
VERSION_BUILD ?= 0-beta.0
1919
RAW_VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_BUILD)
2020
VERSION ?= v$(RAW_VERSION)
2121

@@ -24,7 +24,7 @@ KIC_VERSION ?= $(shell grep -E "Version =" pkg/drivers/kic/types.go | cut -d \"
2424
HUGO_VERSION ?= $(shell grep -E "HUGO_VERSION = \"" netlify.toml | cut -d \" -f2)
2525

2626
# Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions
27-
ISO_VERSION ?= v1.32.1-1710520390-17991
27+
ISO_VERSION ?= v1.33.0-1711559712-18485
2828

2929
# Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta
3030
DEB_VERSION ?= $(subst -,~,$(RAW_VERSION))
@@ -79,7 +79,7 @@ MINIKUBE_RELEASES_URL=https://github.com/kubernetes/minikube/releases/download
7979
KERNEL_VERSION ?= 5.10.207
8080
# latest from https://github.com/golangci/golangci-lint/releases
8181
# update this only by running `make update-golint-version`
82-
GOLINT_VERSION ?= v1.56.2
82+
GOLINT_VERSION ?= v1.57.2
8383
# Limit number of default jobs, to avoid the CI builds running out of memory
8484
GOLINT_JOBS ?= 4
8585
# see https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
@@ -108,7 +108,7 @@ SHA512SUM=$(shell command -v sha512sum || echo "shasum -a 512")
108108

109109
# gvisor tag to automatically push changes to
110110
# to update minikubes default, update deploy/addons/gvisor
111-
GVISOR_TAG ?= latest
111+
GVISOR_TAG ?= v0.0.1
112112

113113
# auto-pause-hook tag to push changes to
114114
AUTOPAUSE_HOOK_TAG ?= v0.0.5
@@ -787,13 +787,15 @@ out/gvisor-addon: ## Build gvisor addon
787787
$(Q)GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o $@ cmd/gvisor/gvisor.go
788788

789789
.PHONY: gvisor-addon-image
790-
gvisor-addon-image: out/gvisor-addon ## Build docker image for gvisor
791-
docker build --platform=linux/amd64 -t $(REGISTRY)/gvisor-addon:$(GVISOR_TAG) -f deploy/gvisor/Dockerfile .
790+
gvisor-addon-image:
791+
docker build -t $(REGISTRY)/gvisor-addon:$(GVISOR_TAG) -f deploy/gvisor/Dockerfile .
792792

793793
.PHONY: push-gvisor-addon-image
794-
push-gvisor-addon-image: gvisor-addon-image
794+
push-gvisor-addon-image: docker-multi-arch-build
795795
docker login gcr.io/k8s-minikube
796-
$(MAKE) push-docker IMAGE=$(REGISTRY)/gvisor-addon:$(GVISOR_TAG)
796+
docker buildx create --name multiarch --bootstrap
797+
docker buildx build --push --builder multiarch --platform linux/amd64,linux/arm64 -t $(REGISTRY)/gvisor-addon:$(GVISOR_TAG) -t $(REGISTRY)/gvisor-addon:latest -f deploy/gvisor/Dockerfile .
798+
docker buildx rm multiarch
797799

798800
.PHONY: release-iso
799801
release-iso: minikube-iso-aarch64 minikube-iso-x86_64 checksum ## Build and release .iso files

0 commit comments

Comments
 (0)