Commit Graph

25954 Commits (master)

Author SHA1 Message Date
minikube-bot 97cc0cab23
Update auto-generated docs and translations (#20861) 2025-05-29 18:21:47 -07:00
Medya Ghazizadeh f439f0c3a4
add short hand -m for --memory (#20854)
* add short hand -m for --memory

* hide deperecated flags
2025-05-29 10:16:02 -07:00
minikube-bot a340e3e22a
Site: Update hugo from v0.147.2 to v0.147.5 (#20840) 2025-05-28 13:03:56 -07:00
minikube-bot 85a9ffb4ec
CI: Update gh from 2.72.0 to 2.73.0 (#20839) 2025-05-28 13:01:29 -07:00
dependabot[bot] 759214fd31
Build(deps): Bump go.opentelemetry.io/otel/trace from 1.35.0 to 1.36.0 (#20849)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.35.0 to 1.36.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.36.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-version: 1.36.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-05-27 17:13:05 -07:00
dependabot[bot] 7138f2bc91
Build(deps): Bump google.golang.org/api from 0.233.0 to 0.234.0 (#20850)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.233.0 to 0.234.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.233.0...v0.234.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.234.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-05-27 15:35:48 -07:00
dependabot[bot] 0dfd71a6ad
Build(deps): Bump k8s.io/component-base from 0.32.2 to 0.33.1 (#20846)
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.32.2 to 0.33.1.
- [Commits](https://github.com/kubernetes/component-base/compare/v0.32.2...v0.33.1)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-version: 0.33.1
  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-05-27 14:13:27 -07:00
Nir Soffer c306a0fbd6
docs: Fix instructions for building iso (#20830)
Testing shows that we need changes changes:
- x86_64 cpu
- Ubuntu 22.04
- docker is required even if building without docker
- python2 instead of python
- genisoimage (for mkisofs)
- Installing Go manually (Ubuntu 22.04 have only Go 1.18)
- Target should be minikube-iso-aarch64 or minikube-iso-x86_64. Using
  arm64 and amd64 fails.

I also cleaned up a little bit the formatting to make it easier to
maintain (one package per line).

Tested building:
- minikube-iso-aarch64
- minikube-iso-x86_64

I did not test the built iso images.
2025-05-27 14:06:31 -07:00
Tian 3cf1e63e21
build: address all lint issues by v2 (#20804)
* fix QF1011: could omit type *os.File from declaration; it will be inferred from the right-hand side

* fix QF1012: Use fmt.Fprintf(x, ...) instead of x.Write(fmt.Sprintf(...))

* fix QF1001: could apply De Morgan's law

* fix QF1003: could use tagged switch

* fix weakCond: suspicious ; nil check may not be enough, check for len (gocritic)

* fix docStub: silencing go lint doc-comment warnings is unadvised

* fix builtinShadow: shadowing of predeclared identifier: error

* fix importShadow: shadow of imported package

* fix nestingReduce: invert if cond, replace body with , move old body after the statement

* useless-break: useless break in case clause (revive)

* Clear the redundant content in golangci.yaml file
2025-05-23 17:31:28 -07:00
minikube-bot f89d46d8a2
add time-to-k8s benchmark for v1.36.0 (#20825) 2025-05-23 10:19:44 -07:00
minikube-bot 1df6e76107
Add leaderboard for v1.36.0 (#20823) 2025-05-23 10:17:06 -07:00
minikube-bot 11420854dc
Update releases.json & releases-v2.json to include v1.36.0 (#20824) 2025-05-22 11:54:08 -07:00
Medya Ghazizadeh f8f52f5de1
add changelog for minikube 1.36.0 (#20821)
* add changelog for v1.36.0

* add changelog for v1.36.0

* bump minikube version to 1.36.0

* review comments
2025-05-22 10:55:32 -07:00
minikube-bot 012dc3cba9
Release: Update kicbase to v0.0.47 (#20819) 2025-05-22 00:42:03 -07:00
minikube-bot 5e88fb0f1a
Update auto-generated docs and translations (#20817) 2025-05-21 22:12:29 -07:00
minikube-bot cc5eacb23d
Release: Update ISO to v1.36.0 (#20816) 2025-05-21 20:33:46 -07:00
Nir Soffer 56ed2662b0
vfkit: Minor docs, test, and help fixes (#20815)
* vfkit: Fix help text for --extra-disks

vfkit can use extra disks but we forgot to mention it in the help text.

* vfkit: Remove stale tap

vfkit in cfergeau/crc will no longer be updated now that it’s in the main repo.

* vfkit: Fix status in index

The vfkit driver is preferred now.
2025-05-21 20:30:26 -07:00
Nir Soffer e9f13e56a9
site: Add example to ingress tutorial (#20814)
We show how to connect to redis with telnet, so let's show some commands
to make it more interesting.

This is modified example from redis docs:
https://redis.io/docs/latest/develop/get-started/data-store/#store-and-retrieve-data
2025-05-21 11:34:12 -07:00
Nir Soffer 3496901b73
vfkit: Change priority to Preferred (#20808)
vfkit is using the native virtualization framework, provides good best
performance and all the features needed by minikube. It is also well
maintained and used by other projects like podman.

This fixes the automatic driver selection. When we start minikube on a
system with both vfkit and qemu, vfkit is selected:

    % minikube start
    😄  minikube v1.35.0 on Darwin 15.5 (arm64)
      Automatically selected the vfkit driver. Other choices: qemu2, ssh, podman (experimental)
    👍  Starting "minikube" primary control-plane node in "minikube" cluster
    🔥  Creating vfkit VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
    🐳  Preparing Kubernetes v1.33.1 on Docker 28.0.4 ...
        ▪ Generating certificates and keys ...
        ▪ Booting up control plane ...
        ▪ Configuring RBAC rules ...
    🔗  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
2025-05-21 11:33:52 -07:00
Cosmic Oppai 42fa39b108
improved invoke-webrequest command (#20574) 2025-05-20 15:26:34 -07:00
dependabot[bot] 89b97e0016
Build(deps): Bump cloud.google.com/go/storage from 1.52.0 to 1.54.0 (#20778)
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.52.0 to 1.54.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.52.0...spanner/v1.54.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-version: 1.54.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-05-20 12:38:42 -07:00
Victor Ubahakwe 4ebec48d8b
Prevent Unnecessary Version Bumps in `go.mod` During Go Version Updates (#20781)
* Prevent Unnecessary Version Bumps in `go.mod` During Go Version Updates

This PR addresses issue #20770, where the minikube automation (triggered by make `update-golang-version`) unnecessarily bumped minor or patch versions in `go.mod` when updating the Go version. Following Kubernetes' practice, which avoids such bumps in `go.mod`, this change ensures only the go directive is updated to the stable Go version.

**Changes:**
- Added `go.mod` to the schema map in `hack/update/golang_version/update_golang_version.go` with a regex (go 1\.\d+\.\d+) to update the go directive to {{.StableVersion}} (e.g., go 1.24.2).
- This ensures the automation updates only the go directive without modifying module dependencies, aligning with Kubernetes' `go.mod` behavior.

**Impact:**
- Running make `update-golang-version` now updates the go directive (e.g., from go 1.22.3 to go 1.24.2) without unintended dependency version bumps.
- Tested by setting go 1.22.3 in go.mod, running go mod tidy and make update-golang-version, and verifying only the go directive and toolchain changed.

fixes: #20773

* Pin `go.mod` to Major.Minor Go Version (e.g., `1.24.0`)

**Description**:
Fixes #20773 by updating the automation to pin the `go` directive in `go.mod` to the major.minor Go version (e.g., `1.24.0`) instead of the full version (e.g., `1.24.2`), aligning with Kubernetes’ `go.mod`. This prevents breaking users relying on minikube packages.

**Changes**:
- Modified `hack/update/golang_version/update_golang_version.go` to compute `MajorMinor` version (e.g., `1.24.0`) from `StableVersion`.
- Updated `schema` to set `go.mod`’s `go` directive to `{{.MajorMinor}}`.
- Tested by setting `go 1.23.4`, running `make update-golang-version`, and verifying `go 1.24.0` with no dependency bumps.

**Closes**: #20773

* Reverted all 66 files to upstream master except update_golang_version.go
2025-05-20 11:03:15 -07:00
minikube-bot 38a80fee9d
Addon ingress: Update ingress-nginx/controller image from v1.11.3 to v1.12.2 (#20789) 2025-05-19 14:35:25 -07:00
dependabot[bot] 6ebe500858
Build(deps): Bump google.golang.org/api from 0.229.0 to 0.233.0 (#20800)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.229.0 to 0.233.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.229.0...v0.233.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.233.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-05-19 14:32:33 -07:00
minikube-bot e19892000c
CNI: Update cilium from v1.17.3 to v1.17.4 (#20787) 2025-05-19 12:37:09 -07:00
minikube-bot b798463301
Addon kubevirt: Update bitnami/kubectl image from 1.33.0 to 1.33.1 (#20790) 2025-05-19 12:36:46 -07:00
dependabot[bot] edcf51b286
Build(deps): Bump github.com/spf13/viper from 1.19.0 to 1.20.1 (#20799)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.19.0 to 1.20.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.19.0...v1.20.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-version: 1.20.1
  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-05-19 12:36:24 -07:00
dependabot[bot] d20d797574
Build(deps): Bump golang.org/x/mod from 0.23.0 to 0.24.0 (#20798)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/mod/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.24.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-05-19 12:36:05 -07:00
minikube-bot fce7bcfabb
Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.33 to 1.5.34 (#20795) 2025-05-19 12:33:39 -07:00
minikube-bot 6b62b027d7
Addon nvidia-device-plugin: Update nvidia/k8s-device-plugin image from v0.17.1 to v0.17.2 (#20786) 2025-05-19 12:30:35 -07:00
minikube-bot 2943611b81
bump default/newest kubernetes versions (#20784) 2025-05-19 12:30:08 -07:00
minikube-bot 3b65dada09
Addon kong: Update kong/kubernetes-ingress-controller image from 3.4.4 to 3.4.5 (#20788) 2025-05-19 12:29:28 -07:00
minikube-bot 0211a99582
site: Update node from 20.19.1 to 20.19.2 (#20796) 2025-05-19 12:29:04 -07:00
minikube-bot 8c643248af
update Kubernetes versions list (#20783) 2025-05-19 12:28:42 -07:00
minikube-bot 588145e85f
update image constants for kubeadm images (#20782) 2025-05-19 12:28:13 -07:00
dependabot[bot] 328604bbf8
Build(deps): Bump k8s.io/client-go from 0.32.2 to 0.33.1 (#20801)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.32.2 to 0.33.1.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.2...v0.33.1)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-version: 0.33.1
  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-05-19 12:22:49 -07:00
minikube-bot 43ef17cc35
CNI: Update kindnetd from v20250214-acbabc1a to v20250512-df8de77b (#20797) 2025-05-19 11:00:31 -07:00
dependabot[bot] 24093a2453
Build(deps): Bump github.com/cloudevents/sdk-go/v2 from 2.15.2 to 2.16.0 (#20775)
Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go) from 2.15.2 to 2.16.0.
- [Release notes](https://github.com/cloudevents/sdk-go/releases)
- [Commits](https://github.com/cloudevents/sdk-go/compare/v2.15.2...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/cloudevents/sdk-go/v2
  dependency-version: 2.16.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-05-16 16:37:30 -07:00
dependabot[bot] 0ca0a9d884
Build(deps): Bump k8s.io/apimachinery from 0.32.2 to 0.33.1 (#20776)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.32.2 to 0.33.1.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.32.2...v0.33.1)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.33.1
  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-05-16 16:36:57 -07:00
dependabot[bot] 779ed5073b
Build(deps): Bump golang.org/x/term from 0.31.0 to 0.32.0 (#20777)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/term/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.32.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-05-16 16:20:35 -07:00
dependabot[bot] 9df8ad621a
Build(deps): Bump github.com/cheggaaa/pb/v3 from 3.1.5 to 3.1.7 (#20774)
Bumps [github.com/cheggaaa/pb/v3](https://github.com/cheggaaa/pb) from 3.1.5 to 3.1.7.
- [Commits](https://github.com/cheggaaa/pb/compare/v3.1.5...v3.1.7)

---
updated-dependencies:
- dependency-name: github.com/cheggaaa/pb/v3
  dependency-version: 3.1.7
  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-05-16 16:19:28 -07:00
minikube-bot 9171dbbc18
Kicbase/ISO: Update cni-plugins from v1.6.2 to v1.7.1 (#20771)
* Kicbase/ISO: Update cni-plugins from v1.6.2 to v1.7.1

* Updating kicbase image to v0.0.46-1747341282-20771

* Updating ISO to v1.35.0-1747341198-20771
2025-05-16 11:31:38 -07:00
Kubernetes Prow Robot 07bc913794
Merge pull request #20760 from medyagh/variable_isoyaml
CI: make "bump all ISO/image workflow" configurable
2025-05-15 13:47:14 -07:00
zvdy 5c85286e3d
CI: Fix cni escaping (#20769)
* fix: correct regex for yaml and sh files

* fix: remove test and revert to normal main impl.
2025-05-15 13:28:00 -07:00
Medya Gh 013b5d8896 comment docker buildx for now 2025-05-15 13:23:25 -07:00
Victor Ubahakwe 0810e7b51c
Update service tests to use discoveryv1.EndpointSlice instead of deprecated core.Endpoints (#20679)
* Update service tests to use-
discoveryv1.EndpointSlice instead of deprecated core.Endpoints

This PR addresses the deprecation warnings for core.Endpoints which is deprecated in Kubernetes v1.33+ in favor of discoveryv1.EndpointSlice.

Changes:
- Replaced all core.Endpoints references with discoveryv1.EndpointSlice
- Updated mock interfaces and test data structures to use the new API
- Maintained all existing test functionality and assertions
- No behavioral changes - just API modernization

Fixes #20677

* fixed lint issue

- make lint now runs without error

* Fix multiple panics in pkg/minikube/service tests by improving mock client initialization

This commit addresses a series of nil pointer dereference panics in the test suite for pkg/minikube/service, ensuring all tests pass reliably. The changes focus on improving the initialization of mock Kubernetes clients to prevent nil pointer dereferences in the fake client's `Invokes` method. The fixes include:

1. **TestPrintURLsForService/throw_error_without_template Panic**:
   - Issue: A panic occurred due to an uninitialized `FakeCoreV1` field in `MockCoreClient`, causing a nil pointer dereference when `Services().Get` was called.
   - Fix: Initialized `FakeCoreV1` with `Fake: &testing_fake.Fake{}` in the `TestPrintURLsForService` setup, ensuring the fake client is properly configured.

2. **TestGetServiceURLs/correctly_return_serviceURLs Panic**:
   - Issue: A similar panic occurred in `GetServiceURLs` due to the `FakeCoreV1` field not being initialized in `MockCoreClient` returned by `MockClientGetter`.
   - Fix: Updated `MockClientGetter.GetCoreClient` to initialize `FakeCoreV1` with `Fake: &testing_fake.Fake{}`, ensuring all tests using `MockClientGetter` have a properly initialized client.

3. **TestDeleteSecret/ok Panic**:
   - Issue: A panic occurred in `DeleteSecret` when calling `secrets.Delete` for the `foo` namespace, as `secretsNamespaces` lacked an entry for `foo`, returning a nil interface.
   - Fix: Added a `MockSecretInterface` for the `foo` namespace to `secretsNamespaces`, ensuring `client.Secrets("foo")` returns a valid interface. Updated `initializeMockObjects` to verify the `Fake` field for the new entry.

Additional improvements:
- Ensured `initializeMockObjects` consistently initializes `Fake` fields across all mock interfaces (`serviceNamespaces`, `serviceNamespaceOther`, `endpointSliceNamespaces`, and `secretsNamespaces`).
- Verified that all test setups align with mock configurations, preventing similar issues in other tests (e.g., `TestCreateSecret`, `TestWaitAndMaybeOpenService`).
- Confirmed no linting issues with `make lint` and validated all tests pass with `go test -v ./pkg/minikube/service/...`.
2025-05-15 11:16:38 -07:00
Anthony Holloman b0a0695082
Update qemu.md docs for homebrew/services decommission (#20685)
`brew tap homebrew/services` is now unnecessary.

Previous Tap:
https://github.com/Homebrew/homebrew-services

New Tap:
https://github.com/Homebrew/brew
2025-05-15 11:13:29 -07:00
minikube-bot be7dd7c518
Kicbase/ISO: Update runc from v1.2.6 to v1.3.0 (#20764)
* Kicbase/ISO: Update runc from v1.2.6 to v1.3.0

* Updating kicbase image to v0.0.46-1747264594-20764

* Updating ISO to v1.35.0-1747264512-20764
2025-05-15 10:38:52 -07:00
zvdy 4fd7502da9
fix: reference missing files in schema (Closes #20752) (#20761)
* fix: reference missing files in schema (Closes #20752)

* fix: reference missing files in schema
2025-05-14 16:10:19 -07:00
Medya Gh 7a480ec40a comment the ones with issue 2025-05-14 16:02:46 -07:00