Commit Graph

25954 Commits (master)

Author SHA1 Message Date
dependabot[bot] 70fc56d679
Build(deps): Bump actions/setup-go from 5.2.0 to 5.5.0 (#21116)
---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 16:25:40 -07:00
minikube-bot 9e4cd659c9
Update auto-generated docs and translations (#21120) 2025-07-21 16:24:32 -07:00
dependabot[bot] d13f7bbe69
Build(deps): Bump peter-evans/create-pull-request from 7.0.6 to 7.0.8 (#21118)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 7.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 16:24:23 -07:00
Victor Ubahakwe 958ecac9d3
Refactor table rendering (#20893)
* Refactored table rendering codes to support updated tablewriter v1.0.7

This commit makes all necessary code changes to maintain compatibility
with the new tablewriter version. The update includes several required modifications across multiple files.

Files modified:
- cmd/minikube/cmd/config/images.go
- cmd/minikube/cmd/config/addons_list.go
- cmd/minikube/cmd/config/profile_list.go
- hack/benchmark/time-to-k8s/chart.go
- hack/benchmark/time-to-k8s/cpu.go
- pkg/minikube/audit/row.go
- pkg/minikube/machine/cache_images.go
- pkg/minikube/perf/result_manager.go
- pkg/minikube/service/service.go

Now #20878 can be merged.
Addresses #20879

* The tablewriter package v1.0.7 renamed SetHeaders to SetHeader

* updated go mod and table.SetColumnAlignment([]int{0, 0, 0, 0})

* Changed syntax and added vendor to gitignore

* simplified version of tablewriter

* removed vendor

* fix addon_list

* fix images tablewrtier

* bump tablewriter for profile list

* go mod tidy

* bump tablewriter for chart

* bump tablewriter for cpu chart

* bump tablewriter for row

* bump tablewriter cache images

* bump tablewriter

* bump tablewriter

* revert file

* bump tablewritter

* fix unit test

* fix lint issues

* fix the integration test pipe char

* convert all tables to new pipe instead of asci pipe

* convert all tables to new pipe instead of asci pipe

* go mod tidy

* go work sync

---------

Co-authored-by: Medya Ghazizadeh <medya@google.com>
2025-07-21 16:20:55 -07:00
Medya Ghazizadeh d850b6921d
bump winget gihtub action (#21119)
* bump winget gihtub action

* winget trigger by dispatch
2025-07-21 16:08:19 -07:00
Nir Soffer dbb9f0e1fc
ci: Add vfkit smoke test (#21102)
* ci: Remove trailing whitespace from smoke-test

* ci: Unify flags usage

* ci: Simplify smoke test expressions

* ci: Inspect minikube and machine logs

* ci: Add vfkit smoke test

* ci: Use --v=8 --alsologtostderr for all commands

We want to get more details to make debugging issues easier.

* ci: Eliminate the download-only part

Download is very short (20 seconds) compared to starting the cluster
(2m:30s) so it does not worth the complication.
2025-07-21 14:19:56 -07:00
minikube-bot adc863d99d
Update auto-generated docs and translations (#21112) 2025-07-21 14:19:30 -07:00
dependabot[bot] bcfee9c0f8
Build(deps): Bump google.golang.org/api from 0.235.0 to 0.242.0 (#21109)
---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.242.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 13:50:52 -07:00
dependabot[bot] ef378239b9
Build(deps): Bump golang.org/x/sys from 0.33.0 to 0.34.0 (#21110)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/sys/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 13:50:33 -07:00
minikube-bot 0af3ac99ab
Update auto-generated docs and translations (#21108) 2025-07-21 13:31:33 -07:00
Nir Soffer 56975bc752
Add krunkit driver supporting GPU acceleration on macOS (#20826)
* krunkit: Add krunkit driver

krunkit is a tool to launch configurable virtual machines using the
libkrun platform, optimized for GPU accelerated virtual machines and AI
workloads on Apple silicon.

It is mostly compatible with vfkit; the driver is a simplified copy of
the vfkit driver. Unlike vfkit, krunkit is available only on Apple
silicon.

Changes compared to vfkit driver:
- krunkit requires unix socket for networking, so we must use
  vment-helper.
- krunkit does not support HardStop, so we kill it using SIGKILL.
- We must enable vmnet offloading, required for krunkit.
- The code was simplified since vmnet-helper is always used
- Code was cleaned up to use .ResolveStorePath()
- Unused Upgrade() function was removed
- Types and functions that should not be public made private

We require krunkit 0.2.2, supporting --restul-uri=unix://.

* reason: Make vment-helper error driver agnostic

Previously it was used only for vfkit, so we suggested to fallback to
the `nat` network. This advice is not relevant to krunkit or to qemu
(which can also use vmnet-helper).

Change the error to recommend installing vment-helper. We need to think
how we can recommend other networks for vfkit and qemu. Another solution
is to create error for every driver+network combination but this seems
hard to manage.

* hack: Add krunkit integration test

This is the same way that we test vfkit. This test is not running in the
CI.

Issues:
- Need to install and configure vment-helper (requires root).

* site: Add krunkit driver documentation
2025-07-21 12:59:28 -07:00
Nir Soffer 6d7433514d
vfkit: Restore compatibility with x86_64 (#21100)
In #20833 we switch to --bootloader=efi, breaking vfkit on x86_64.
Switch to --bootloader=linux to restore support for older macs. This
also enable running vfkit basic tests in github runners.

This change does not revert #20833 since it contained other important
changes that we squashed during merge. We also use the new
--bootloader=linux instead of the legacy --kernel, --initrd, and
--cmdline flags.

Issues:
- On x86_64 using console=hvc0 breaks boot. Using console=ttyS0 works,
  but serial.log is always empty.
2025-07-21 11:15:45 -07:00
Divy Singhvi 6ff37d558e
Manually bump runc to v1.3.0 and migrate to github.com/opencontainers (#21083) 2025-07-19 19:59:34 -07:00
Nir Soffer a5b60727b9
iso: Fix `minikube stop` with vfkit and krunkit drivers (#21089)
* iso: Minimal kernel for arm64

Create default arm64 config and disable stuff that we cannot use in
a VM.

This chagne was generated by:

1. Create defualt arm64 config

       cd out/buildroot/output-aarch64/build/linux-6.6.95
       make ARCH=arm64 defconfig
       make ARCH=arm64 menuconfig
       (exit saving changes)

2. Disable features that we don't need in the minikube VM:

       - Platform suppport
	 - all platforms
       - Device drivers
         - Multimedia support
         - Sound support

3. Updated our linux defconfig

       cd out/buildroot/output-aarch64
       make linux-update-defconfig

4. Normalize the config

       make linux-menuconfig-aarch64
       (exit saving changes)

With this config qemu, vfkit, and krunkit boot with --no-kubernetes, and
graceful shutdown works in vfkit and krunkit (using --restful-uri).

We cannot start kubernetes yet since some features are not available in
the default architecture config.

* iso: Add configs removed by defualt config

This restores the configs removed by updating from the default
architecture config. These configs are required for kubernetes support.

After adding the removed configs, run `make linux-menuconfig-aarch64` to
normalize the config and remove multimedia and sound card support again.

* iso: Unbreak go packages build

Adding go.work seems to break podman build. The workspace is needed only
for running the update commands so let's disable it when building the
iso.

We may need much bigger change to ensur that the workspace is used only
when running the update go commands, or remove it. This change fixes
only the iso build.

* Updating ISO to v1.36.0-1752940814-21089

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-19 18:43:46 -07:00
Nir Soffer 2d7f29102e
vfkit: Add vfkit.log (#21096)
Like krunkit and vmnet-helper, we redirect vfkit logs to

    $MINIKUBE_HOME/.minikube/machines/name/vfkit.log

This will be helpful to debug case when vfkit exits with an error.
Currently this error goes to /dev/null which makes debugging impossible.
It will be also useful if we need to get help from vfkit folks.

Example log:

    time="2025-07-20T02:48:43+03:00" level=info msg="&{2 6144    {[efi variable-store=/Users/nir/.minikube/machines/minikube/vfkit.efivars create] true}  [virtio-net,nat,mac=1e:ac:f2:43:84:b3 virtio-rng virtio-blk,path=/Users/nir/.minikube/machines/minikube/boot2docker.iso virtio-blk,path=/Users/nir/.minikube/machines/minikube/disk.img virtio-serial,logFilePath=/Users/nir/.minikube/machines/minikube/serial.log] unix:///Users/nir/.minikube/machines/minikube/vfkit.sock debug false  {[] false}}"
    time="2025-07-20T02:48:43+03:00" level=info msg="boot parameters: &{EFIVariableStorePath:/Users/nir/.minikube/machines/minikube/vfkit.efivars CreateVariableStore:true}"
    time="2025-07-20T02:48:43+03:00" level=info
    time="2025-07-20T02:48:43+03:00" level=info msg="virtual machine parameters:"
    time="2025-07-20T02:48:43+03:00" level=info msg="\tvCPUs: 2"
    time="2025-07-20T02:48:43+03:00" level=info msg="\tmemory: 6144 MiB"
    time="2025-07-20T02:48:43+03:00" level=info
    time="2025-07-20T02:48:43+03:00" level=info msg="Adding virtio-net device (nat: true macAddress: [1e:ac:f2:43:84:b3])"
    time="2025-07-20T02:48:43+03:00" level=info msg="Adding virtio-rng device"
    time="2025-07-20T02:48:43+03:00" level=info msg="Adding virtio-blk device (imagePath: /Users/nir/.minikube/machines/minikube/boot2docker.iso)"
    time="2025-07-20T02:48:43+03:00" level=info msg="Adding virtio-blk device (imagePath: /Users/nir/.minikube/machines/minikube/disk.img)"
    time="2025-07-20T02:48:43+03:00" level=info msg="Adding virtio-serial device (logFile: /Users/nir/.minikube/machines/minikube/serial.log)"
    time="2025-07-20T02:48:43+03:00" level=info msg="virtual machine is running"
    time="2025-07-20T02:48:43+03:00" level=info msg="waiting for VM to stop"
2025-07-19 18:38:19 -07:00
Medya Ghazizadeh 97d8a293a9
ci: add smoke test to github action (#21095)
* smoke test

* add logic to detect nested VMs

* increase memory to 8gb for tesT

* use the network flag for both qemu and vfkit

* code review comments

* separate minikube download

* separate minikube download

* force cpu1

* add docker for smoke test

* exclude envs dont need in matrix

* change back to 3

* remove unused code

* add info block for linux as well
2025-07-19 18:29:44 -07:00
Nir Soffer b973335449
docs: Update vment-helper installation (#21085)
vment-helper 0.6.0 simplified the installation by removing the version
from the tarball.
2025-07-17 16:01:17 -07:00
dependabot[bot] 25a9856a0b
Build(deps): Bump github.com/docker/cli (#21071)
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.2.2+incompatible to 28.3.2+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.2.2...v28.3.2)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 28.3.2+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-17 11:04:27 -07:00
minikube-bot 0d0a60ded0
Update auto-generated docs and translations (#21080) 2025-07-17 11:04:07 -07:00
Medya Ghazizadeh 185285e1c6
use lazy unmounting to detach the filesystem now, clean up things later (#21077) 2025-07-17 10:55:25 -07:00
Medya Ghazizadeh 72332118f2
migrate to open telemetry (#21070) 2025-07-15 12:40:02 -07:00
Divy Singhvi 2a49119c55
Deprecate HyperKit driver with warning (#21024)
* deprecate hyperkit driver with user-facing warning

* apply review suggestions from PR #21024

* apply review suggestions from PR #21024

* apply review suggestions from PR #21024-updating registery priority
2025-07-14 14:04:10 -07:00
minikube-bot dce184900f
Kicbase/ISO: Update docker from 28.0.4 to 28.3.2 (#21053)
* Kicbase/ISO: Update docker from 28.0.4 to 28.3.2

* Updating kicbase image to v0.0.47-1752142599-21053

* Updating ISO to v1.36.0-1752142514-21053
2025-07-14 14:03:14 -07:00
Medya Ghazizadeh d4374c42b2
test: use alpine for gvsior image in testdata (#21059)
* use alpine for gvsior image in testdata

* remove dup copy leftover
2025-07-14 14:02:47 -07:00
Medya Ghazizadeh 7d8d9741db
fix dirty commit version (#21062)
* fix release script detecting dirty commit

* add go-licenses to gitignore

* add more help text
2025-07-14 10:49:49 -07:00
Medya Ghazizadeh 0988cc3a72
add go.work to separate hack folder (#21061)
* add go work files since there hack mod uses root mod

* add toolchain

* change Makefile to run the updates using full path to use go.work file

* add comment make file and move generate license above

* add go-license to ignore to avoid making release commit dirty

* force hack module to use older tablewriter lib

* dont do gitignore
2025-07-13 17:41:59 -07:00
Medya Ghazizadeh 6d92b2208f
separate go mod for hack folder (#21060)
* separate go mod for hack folder and use go work

* remove dependecy on k8s.minikube inside hack

* remove gowork files
2025-07-13 14:37:20 -07:00
minikube-bot ef138c75ac
Update auto-generated docs and translations (#21051) 2025-07-11 19:47:07 -07:00
Cosmic Oppai 78989b99c2
Update common.ps1 (#20820) 2025-07-10 10:31:11 -07:00
Lefteris T. 64d3ccb834
Greek translation (#20862) 2025-07-09 13:35:36 -07:00
dependabot[bot] da59a357a1
Build(deps): Bump golang.org/x/sync from 0.14.0 to 0.15.0 (#20946)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sync/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 12:17:15 -07:00
dependabot[bot] baa0fcd1d7
Build(deps): Bump github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace (#20980)
Bumps [github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go) from 1.27.0 to 1.29.0.
- [Release notes](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/releases)
- [Commits](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/compare/detectors/gcp/v1.27.0...detectors/gcp/v1.29.0)

---
updated-dependencies:
- dependency-name: github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace
  dependency-version: 1.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 12:15:01 -07:00
Jeff MAURY 6b483dd82b
Fix french translation (#21050)
Signed-off-by: Jeff MAURY <jmaury@redhat.com>
2025-07-09 11:50:27 -07:00
Nir Soffer 11bf65dabf
build: Fix docker run when selinux is enabled (#21017)
When mouting volumes we need to use :Z suffix to allow access to the
mounted directory. This fixes docker run when running on Fedora an other
distros using selinux by default.
2025-07-08 14:33:57 -07:00
dependabot[bot] 2478ab30ab
Build(deps): Bump k8s.io/component-base from 0.33.1 to 0.33.2 (#21045)
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.33.1 to 0.33.2.
- [Commits](https://github.com/kubernetes/component-base/compare/v0.33.1...v0.33.2)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-version: 0.33.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 14:32:55 -07:00
minikube-bot bc0d699636
Addon metrics-server: Update metrics-server/metrics-server image from v0.7.2 to v0.8.0 (#21033) 2025-07-08 13:53:06 -07:00
minikube-bot bbed434d6f
Site: Update hugo from v0.147.8 to v0.147.9 (#21035) 2025-07-08 13:52:38 -07:00
Nir Soffer 447113560c
iso: Update to longterm kernel to 6.6.95 (#20995)
* iso: Update kernel to 6.6.95 for x86_64

Generated by running `make iso-menuconfig-x86_64` and updating kernel
version to longterm kernel 6.6.95 and kernel headers to 6.6.x, and then
running `make linux-menuconfig-x86_64` to update the linux config.

Additinally update hyperv-daemons package to use kernel 6.x.

* iso: Update kernel to 6.6.95 for aarch64

Generated by running `make iso-menuconfig-aarch64` and updating kernel
version to longterm kernel 6.6.95 and kernel headers to 6.6.x, and then
running `make linux-menuconfig-aarch64` to update the linux config.

* iso: Enable VirtIO GPU for krunkit driver

The krunkit driver exposes the host GPU via VirtIO GPU, enabling AI
workloads in the guest.

* Updating ISO to v1.36.0-1751445739-20995

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-08 13:06:52 -07:00
Medya Ghazizadeh 4756f9c0aa
login docker (#21042) 2025-07-08 10:06:19 -07:00
minikube-bot 42823b8ba1
Addon inspektor-gadget: Update inspektor-gadget image from v0.41.0 to v0.42.0 (#21038) 2025-07-07 13:08:40 -07:00
minikube-bot c73378be5a
Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.35 to 1.5.37 (#21040) 2025-07-07 13:08:27 -07:00
minikube-bot 4ca74d2991
Addon kong: Update kong/kubernetes-ingress-controller image from 3.4.7 to 3.5.0 (#21034) 2025-07-07 13:08:11 -07:00
Joaquim Rocha 49d6e371a4
CI: Auto update Headlamp image (#20372)
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
2025-07-07 13:01:53 -07:00
Medya Ghazizadeh 8c6446f0c1
ci: login to docker during build process (#21027)
* login to docker during build process

* add readonly token for docker hub

* use stdin

* add quote

* try with -p

* remove one

* add comment
2025-07-03 13:42:20 -07:00
Nir Soffer 2a49690071
build: Update xcgo image to v2 (#21019)
The new image has less vulnerabilities (detected by quay.io):

Before:

    Quay Security Scanner has detected 607 vulnerabilities.
    Patches are available for 151 vulnerabilities.
     5 Critical-level vulnerabilities.
     12 High-level vulnerabilities.
     180 Medium-level vulnerabilities.
     322 Low-level vulnerabilities.
     34 Negligible-level vulnerabilities.
     54 Unknown-level vulnerabilities.

After:

    Quay Security Scanner has detected 572 vulnerabilities.
    Patches are available for 116 vulnerabilities.
     2 Critical-level vulnerabilities.
     11 High-level vulnerabilities.
     150 Medium-level vulnerabilities.
     319 Low-level vulnerabilities.
     34 Negligible-level vulnerabilities.
     56 Unknown-level vulnerabilities.

Delta:

     -3 Critical-level vulnerabilities.
     -1 High-level vulnerabilities.
     -30 Medium-level vulnerabilities.
     -3 Low-level vulnerabilities.
     +2 Unknown-level vulnerabilities.
2025-07-03 09:48:11 -07:00
Medya Ghazizadeh cb04af6409
Update OWNERS: adding nirs to reviewers (#21016) 2025-07-02 11:11:29 -07:00
dependabot[bot] d2be13ef25
Build(deps): Bump go.opentelemetry.io/otel/sdk from 1.35.0 to 1.37.0 (#21007)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.35.0 to 1.37.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.35.0...v1.37.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-02 10:17:03 -07:00
minikube-bot 9e10635b90
Update yearly leaderboard (#21010) 2025-07-02 10:14:11 -07:00
minikube-bot 43b6ee1672
HA (multi-control plane): Update kube-vip from v0.9.1 to v0.9.2 (#20999) 2025-07-01 14:25:15 -07:00
minikube-bot a3dfbe589d
Addon kong: Update kong image from 3.9.0 to 3.9.1 (#20966) 2025-07-01 14:24:31 -07:00