Commit Graph

8872 Commits (dependabot/go_modules/k8s.io/cluster-bootstrap-0.34.1)

Author SHA1 Message Date
Medya Ghazizadeh 6931505862
Merge pull request #21526 from minikube-bot/kicbase-release-v0.0.48
Release: Update kicbase to v0.0.48
2025-09-09 11:18:09 -07:00
minikube-bot 4fe92f2380 Release: Update kicbase to v0.0.48 2025-09-09 07:12:19 +00:00
minikube-bot 24e95f62f6 Release: Update ISO to v1.37.0 2025-09-09 02:35:49 +00:00
minikube-bot e2c16a0677 Updating kicbase image to v0.0.47-1757354847-21517 2025-09-08 18:29:27 +00:00
Medya Ghazizadeh 4c0cbe570f
Merge pull request #21505 from minikube-bot/auto_bump_ubuntu_version
Kicbase: Bump ubuntu:jammy from 20250730 to 20250819
2025-09-08 10:30:26 -07:00
minikube-bot c10e3073ea Updating kicbase image to v0.0.47-1757349805-21505 2025-09-08 17:05:48 +00:00
Medya Ghazizadeh 7ad0536a85
Merge pull request #21508 from minikube-bot/auto_bump_headlamp_version
Addon Headlamp: Update Headlamp image from v0.34.0 to v0.35.0
2025-09-08 09:31:06 -07:00
Medya Ghazizadeh 46f2ffa046
Merge pull request #21504 from minikube-bot/auto_bump_flannel_version
CNI: Update flannel from v0.27.2 to v0.27.3
2025-09-08 09:30:22 -07:00
Medya Ghazizadeh 1d9a2b9dca
Merge pull request #21503 from minikube-bot/auto_bump_kong_version
Addon kong: Update kong image from 3.9.1 to 3.9.1
2025-09-08 09:28:29 -07:00
Medya Ghazizadeh f1a4cfa78c
Merge pull request #21510 from minikube-bot/auto_bump_inspektor_gadget_version
Addon inspektor-gadget: Update inspektor-gadget image from v0.44.0 to v0.44.1
2025-09-08 09:28:05 -07:00
minikube-bot 67b6671f4b Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.40 to 1.5.41 2025-09-08 10:08:35 +00:00
minikube-bot c269f2ff75 Addon inspektor-gadget: Update inspektor-gadget image from v0.44.0 to v0.44.1 2025-09-08 10:07:25 +00:00
minikube-bot 8932374f20 Addon Headlamp: Update Headlamp image from v0.34.0 to v0.35.0 2025-09-08 10:06:44 +00:00
minikube-bot 3892f90e7d CNI: Update flannel from v0.27.2 to v0.27.3 2025-09-08 10:03:10 +00:00
minikube-bot 0729d8e142 Addon kong: Update kong image from 3.9.1 to 3.9.1 2025-09-08 10:02:28 +00:00
Medya Ghazizadeh 0950adbbf6
Merge pull request #21488 from minikube-bot/auto_bump_docker_version-e92911b
Kicbase/ISO: Update docker from 28.3.3 to 28.4.0
2025-09-05 16:49:33 -07:00
Medya Ghazizadeh dbab274bdd
Merge pull request #21490 from nirs/update-k8s-versions
Update oldest supported Kubernetes versions
2025-09-05 16:48:53 -07:00
Medya Ghazizadeh 6bd0203c8d change url for reasons package for vmnet-helper 2025-09-04 15:31:14 -07:00
Nir Soffer ce0ab00360 Update Kubernetes versions
We use constants.OldestKubernetesVersion for testing the oldest version
and limiting --kubernetes-version when starting the clusters. Our
tradition is testing 6 releases back from current version, but we were
testing 14 release back (1.20.0).

For upgrading containerd to latest version (v2.1.4) we need to upgrade
to a newer release. Upgrade constants.OldestKubernetesVersion to 1.28.0
which seems to pass all tests.

legacyVersion() used in version_upgrade_test.go was 1.26.0. The comment
in file mention that this should be release from the last 6 month. We do
see failures in the relevant tests (TestRunningBinaryUpgrade) in many
builds so I bumped it as well to 1.32.0 (2 releases back from current).

In preload_test.go we tested --kubernetes-version=1.24.4 which is not
compatible with containerd v2. Use legacyVersion() instead so we don't
need to maintain another version.

We had many example of --kubernetes-version in the docs using older
version which are not supported. Replace all example with current
version to minimize future maintenance. We need to automated this later
so updating the version in minikube will also update the examples.

With this change we have 2 places to update kubernetes versions:
- constants.*KubernetesVersion
- legacyVersion()
2025-09-04 20:42:12 +03:00
minikube-bot 554d756f5d Updating ISO to v1.36.0-1756980912-21488 2025-09-04 13:26:17 +00:00
minikube-bot 82785f7bd8 Updating kicbase image to v0.0.47-1756980985-21488 2025-09-04 10:39:34 +00:00
Nir Soffer 890003c584 krunkit: Disable offloading for faster networking
krunkit-1.0.0[1] allows disabling offloading for faster networking. Keep
the Offloading option in case offloading is improved in future versions
or we want to add a flag to use int for specific workload.

Testing shows 6.7 times faster network performance, and 9p mount
is 3 times faster.

Starting cluster:

    % minikube start --driver krunkit --container-runtime containerd
    😄  minikube v1.36.0 on Darwin 15.6 (arm64)
      Using the krunkit (experimental) driver based on user configuration
    👍  Starting "minikube" primary control-plane node in "minikube" cluster
    🔥  Creating krunkit VM (CPUs=2, Memory=6144MB, Disk=20000MB) ...
    📦  Preparing Kubernetes v1.33.2 on containerd 1.7.23 ...
    🔗  Configuring bridge CNI (Container Networking Interface) ...
    🔎  Verifying Kubernetes components...
        ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
    🌟  Enabled addons: default-storageclass, storage-provisioner
    🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

Testing iperf3:

    % kubectl apply -f iper3-server.yaml
    deployment.apps/iperf3 created
    service/iperf3 created

    % kubectl get deploy iperf3
    NAME     READY   UP-TO-DATE   AVAILABLE   AGE
    iperf3   1/1     1            1           9s

    % kubectl get service iperf3
    NAME     TYPE       CLUSTER-IP       EXTERNAL-IP   PORT(S)          AGE
    iperf3   NodePort   10.105.127.180   <none>        5201:30201/TCP   17s

    % iperf3 -c $(minikube ip) -p 30201
    Connecting to host 192.168.105.10, port 30201
    [  5] local 192.168.105.1 port 50630 connected to 192.168.105.10 port 30201
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-1.00   sec  1.05 GBytes  9.03 Gbits/sec
    [  5]   1.00-2.01   sec  1.09 GBytes  9.29 Gbits/sec
    [  5]   2.01-3.01   sec  1.06 GBytes  9.09 Gbits/sec
    [  5]   3.01-4.00   sec  1.08 GBytes  9.33 Gbits/sec
    [  5]   4.00-5.00   sec  1.08 GBytes  9.31 Gbits/sec
    [  5]   5.00-6.00   sec  1.07 GBytes  9.23 Gbits/sec
    [  5]   6.00-7.00   sec  1.09 GBytes  9.35 Gbits/sec
    [  5]   7.00-8.01   sec  1.08 GBytes  9.20 Gbits/sec
    [  5]   8.01-9.00   sec  1.07 GBytes  9.18 Gbits/sec
    [  5]   9.00-10.01  sec  1.08 GBytes  9.28 Gbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-10.01  sec  10.7 GBytes  9.23 Gbits/sec                  sender
    [  5]   0.00-10.01  sec  10.7 GBytes  9.23 Gbits/sec                  receiver

Testing 9p mount:

    % minikube mount ~/models:/mnt/models
    📁  Mounting host path /Users/nir/models into VM as /mnt/models ...
        ▪ Mount type:   9p
        ▪ User ID:      docker
        ▪ Group ID:     docker
        ▪ Version:      9p2000.L
        ▪ Message Size: 262144
        ▪ Options:      map[]
        ▪ Bind Address: 192.168.105.1:50614
    🚀  Userspace file server:
    ufs starting
      Successfully mounted /Users/nir/models to /mnt/models

    📌  NOTE: This process must stay alive for the mount to be accessible ...

    $ time cat /mnt/models/DeepSeek-R1-0528-Qwen3-8B-Q4_K_M.gguf >/dev/null

    real    0m10.219s
    user    0m0.007s
    sys     0m0.263s

[1] https://github.com/containers/krunkit/releases/tag/v1.0.0
2025-09-03 18:14:38 +03:00
Kartik Joshi f4f91912fd addons: update ingress-dns addon template and image reference
Updated ingress-dns addon Pod template to align with current
  deployment requirements:
  * Added hostPort mapping for UDP 53
  * Mounted ConfigMap for configurable DNS settings
  * Introduced dns-nodata-delay-ms option via ConfigMap

- Switched default ingress-dns image reference from
  gcr.io/k8s-minikube/minikube-ingress-dns to
  kicbase/minikube-ingress-dns (multi-arch build available
  on Docker Hub).

- Left legacy image mapping in aliyun_mirror.json for
  backward compatibility, while adding new kicbase mapping.

Signed-off-by: Kartik Joshi <karikjoshi21@gmail.com>
2025-09-02 10:47:02 -07:00
minikube-bot aefe722fb4 Addon inspektor-gadget: Update inspektor-gadget image from v0.43.0 to v0.44.0 2025-09-01 18:02:44 -07:00
minikube-bot 22c09543d1 update Kubernetes versions list 2025-09-01 18:02:00 -07:00
minikube-bot 243a283e5d Addon ingress: Update ingress-nginx/controller image from v1.13.1 to v1.13.2 2025-09-01 18:01:45 -07:00
Kaviraj Sankameeswaran a068e3b132 refactor: modernize slice operations using slices and maps packages
Replace traditional append-in-loop patterns with modern Go functions slices.Sorted(), slices.Collect(), and maps.Keys()/maps.Values()

Changes made (5 files):
- cmd/minikube/cmd/config/addons_list.go: Use slices.Sorted(maps.Keys())
- cmd/minikube/cmd/version.go: Use slices.Sorted(maps.Keys())
- hack/changelog/changelog.go: Use slices.Collect(maps.Keys())
- pkg/minikube/node/cache.go: Use slices.Collect(maps.Keys())
- pkg/minikube/registry/registry.go: Use slices.Collect(maps.Values())

Files skipped due to complexity:
- pkg/drivers/kic/oci/oci.go
- pkg/drivers/hyperkit/driver.go
- pkg/drivers/kvm/gpu.go
- pkg/drivers/kvm/numa.go [Unrelated slice optimization possible, can be addressed along with other similar code]
- pkg/minikube/tunnel/kic/*
- cmd/minikube/cmd/service.go
- hack/legacy_fill_db/filldb.go

These cases require more sophisticated transformation logic that might be better addressed in separate issue/PR
2025-08-28 11:29:39 -07:00
Predrag Rogic 81a9a111d2 skip tests not relevant for windows 2025-08-27 21:08:08 -07:00
Predrag Rogic a931f4e73e skip tests not relevant for windows 2025-08-27 21:08:08 -07:00
minikube-bot b0db07d450 bump default/newest kubernetes versions 2025-08-27 16:25:51 -07:00
minikube-bot 8fe6573293 update image constants for kubeadm images 2025-08-27 14:43:43 -07:00
minikube-bot 7f79a3ad71 Updating kicbase image to v0.0.47-1756116447-21413 2025-08-27 14:41:18 -07:00
minikube-bot d6fc793136 Addon kubevirt: Update bitnami/kubectl image from 1.33.3 to 1.33.4 2025-08-27 10:58:32 -07:00
minikube-bot 750a6134d2 CNI: Update calico from v3.30.2 to v3.30.3 2025-08-25 13:29:18 -07:00
minikube-bot 99f1e93b3b update Kubernetes versions list 2025-08-25 09:49:44 -07:00
Nir Soffer a8babb399c constants: Update kubeacm contants
Generated using:

    make update-kubeadm-constants
2025-08-22 14:27:03 -07:00
Nir Soffer b2e489570c constants: Remove k8s 1.33.* and 1.34.* versions
We want to rebuild the version to ensure we get correct versions.
2025-08-22 14:27:03 -07:00
Nir Soffer 96229adc41 drivers: Add Virtiofs mounts for vfkit and krunkit
Replace 9p mounts with virtiofs for vfkit and krunkit. Testing shows
that virtiofs mount is 23 times faster with krunkit, and 8 times faster
with vfkit.

vfkit and krunkit support multiple virtiofs mounts but minikube
--mount-* flags are not ready for multiple mounts. We have the same
issue with KIC drivers, supporting multiple mounts but using only one.
We hope to improve this in the next release.

Example usage:

    minikube start --mount-string ~/models:/mnt/models

The arguments are parsed and validated when configuring the driver, so
invalid arguments fail quickly without starting the driver. The
validated mounts are stored in the machine config:

    $ jq '.Driver.VirtiofsMounts' < ~/.minikube/machines/minikube/config.json
    [
      {
        "HostPath": "/Users/joe/models",
        "GuestPath": "/mnt/models",
        "Tag": "f845b54d-00e3-493d-9541-3b37490b96db"
      }
    ]

Minikube generates a new random UUID for every virtiofs mount to
identify the file system inside the guest. In krunkit and vfkit, every
mount is add as:

    --device virtio-fs,sharedDir=/host-path,mountTag=f845b54d-00e3-493d-9541-3b37490b96db

When the guest is started the shared directory is mounted via SSH using:

    sudo mkdir -p /mnt/models
    sudo mount -t virtiofs f845b54d-00e3-493d-9541-3b37490b96db /mnt/models

Example mount:

    $ minikube ssh findmnt /mnt/models
    TARGET      SOURCE                               FSTYPE   OPTIONS
    /mnt/models f845b54d-00e3-493d-9541-3b37490b96db virtiofs rw,relatime

More work is needed to add VirtioFS to qemu. I'm starting with vfkit and
krunkit since they have identical interface (krunkit was designed as
drop-in replacement for vfkit).
2025-08-20 21:12:45 -07:00
Nir Soffer 35446b7bd5 drivers: Add common/virtiofs package
The package provides functions for parsing and validating mount string
and setting up the mount inside the guest.
2025-08-20 21:12:45 -07:00
Medya Ghazizadeh 050e5ad623
fix preload tool build (#21367)
* fix preload tool build

* refactor: use ImageInspect and containerd errdefs

* using errdefs since docker client err is depricated
2025-08-19 17:27:33 -07:00
minikube-bot c4c81c06df
Addon Volcano: Update volcano images from v1.12.1 to v1.12.2 (#21351) 2025-08-18 13:22:37 -07:00
minikube-bot 5a0afc2cbe
Addon kong: Update kong image from 3.9.1 to 3.9.1 (#21350) 2025-08-18 13:18:42 -07:00
minikube-bot 3074d2a1a2
CNI: Update cilium from v1.18.0 to v1.18.1 (#21349) 2025-08-18 13:10:44 -07:00
Nir Soffer 6fbe84c7d2
test: Initial support for virtiofs mounts (#21272)
* test: Add findmnt package

When testing mounts we can use findmnt --json output to parse the output
cleanly. The package provides only ParseOutput() now, but it can be
extended later to run the findmnt command.

* test: Support virtiofs mounts

Use findmnt command to get the mounted filesystem details cleanly.

We use the actual mount fstype instead of driver name check so we can
switch drivers to virtiofs without changing the test.

For virtiofs mount we skip options validation since we don't support
setting virtiofs options yet, and the options are not the same as 9p
options.

For 9p mounts the uid= and gid= flags were fixed to match the real flags
(dfltuid=,dfltgid=). The issue was hidden by imprecise string matching.
2025-08-18 12:54:03 -07:00
minikube-bot 7f42627f20
update image constants for kubeadm images (#21347) 2025-08-18 12:46:23 -07:00
minikube-bot 63a496bf4d
Update go from 1.24.0 to 1.24.6 (#21348)
* Update go from 1.24.5 to 1.24.6

* Updating kicbase image to v0.0.47-1755508051-21348
2025-08-18 12:38:34 -07:00
minikube-bot 2435fcec0d
Addon ingress: Update ingress-nginx/controller image from v1.13.0 to v1.13.1 (#21353) 2025-08-18 12:37:58 -07:00
minikube-bot 07c0169084
Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.39 to 1.5.40 (#21359) 2025-08-18 10:51:53 -07:00
Predrag Rogic 358a142c96
fix k8s v1.33.3 etcd image version (#21337) 2025-08-14 17:05:56 -07:00
minikube-bot 03a3c91ab6
Kicbase/ISO: Update crun from 1.23 to 1.23.1 (#21330)
* Kicbase/ISO: Update crun from 1.23 to 1.23.1

* Updating kicbase image to v0.0.47-1755081124-21330
2025-08-14 10:57:31 -07:00