Commit Graph

26098 Commits (ce0ab003608e00fd868941ed02a835e21158493a)

Author SHA1 Message Date
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
Medya Ghazizadeh e92911b224
Merge pull request #21486 from minikube-bot/gomodtidy
build: go mod tidy
2025-09-03 22:11:26 -07:00
minikube-bot 7b55634f86 Update auto-generated docs and translations 2025-09-04 05:10:35 +00:00
Medya Ghazizadeh 7b21b0f497
Merge pull request #21471 from kubernetes/dependabot/go_modules/github.com/spf13/pflag-1.0.9
Build(deps): Bump github.com/spf13/pflag from 1.0.6 to 1.0.9
2025-09-03 22:10:04 -07:00
Medya Ghazizadeh 4660ee0f99
Merge pull request #21476 from nirs/remove-drawin-parallel-limit
test: Remove darwin hardcoded parallel limit
2025-09-03 10:34:22 -07:00
Medya Ghazizadeh 4789e5832c
Merge pull request #21484 from nirs/github-actions-functional-tests
test: Fix functional test step name
2025-09-03 10:33:13 -07:00
Nir Soffer 1ca5628c18 test: Fix functional test step name
The github workflow is running the functional tests, not the full
integration tests.
2025-09-03 16:06:50 +03:00
Nir Soffer 8bcf08bbf7 test: Remove darwin hardcoded parallel limit
On darwin parallel was limited to 2 instead of nproc/1.75.  Hopefully
this will speed up integration tests that take about 1 hour with the
hard coded limit.
2025-09-03 00:56:16 +03:00
Medya Ghazizadeh af31c001ad
Merge pull request #21465 from developowl/add-translations-for-korean-1-to-100
ui: add more translations for korean
2025-09-02 10:52:54 -07:00
minikube-bot 01c674728b Update auto-generated docs and translations 2025-09-02 10:52:18 -07:00
dependabot[bot] f7de0fba9b
Build(deps): Bump github.com/spf13/pflag from 1.0.6 to 1.0.9
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.6 to 1.0.9.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 17:49:55 +00:00
dependabot[bot] 3c46b79fe2 Build(deps): Bump go.opentelemetry.io/otel/trace from 1.37.0 to 1.38.0
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.37.0 to 1.38.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.37.0...v1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 10:48:32 -07:00
dependabot[bot] ae694b410e Build(deps): Bump google.golang.org/api from 0.247.0 to 0.248.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.247.0 to 0.248.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.247.0...v0.248.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.248.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 10:48:01 -07: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 ba2e4848a3 Update yearly leaderboard 2025-09-02 10:29:08 -07:00
Shin_Jihoon a35c03df49
Merge branch 'master' into add-translations-for-korean-1-to-100 2025-09-02 10:17:50 +09: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
Chemabj 11ad2a7e60 Update telemetry.md - Replacing don´t existing link/reference
Modified the Stackdriver link because the existing one no more exists. No clear the exact replacement in the opentelemetry site (exists exporter for rust, .net, etc... but not totally clear for this specific case where information is not more present) but it seems the added link is referencing to the Google Cloud Operations Suite that "replace" to stackdriver.
2025-09-01 18:02:28 -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
Shin Jihoon 9394fc8f36 Add translations for korean L101~200 2025-09-01 18:00:18 -07:00
Nir Soffer b7deec2b7a deps: Update github.com/ulikunitz/xz to v0.5.15
v0.5.14 broke 32 bit builds:
https://github.com/ulikunitz/xz/issues/65

The issue is fixed in v0.5.15:
https://github.com/ulikunitz/xz/releases/tag/v0.5.15
2025-09-01 17:58:40 -07:00
Shin Jihoon d3f2aa3639 Add translations for korean L1~100 2025-09-02 01:47:01 +09:00
dependabot[bot] 5bfa26ded9 Build(deps): Bump github.com/ulikunitz/xz from 0.5.10 to 0.5.14 in /hack
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.10 to 0.5.14.
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.10...v0.5.14)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-version: 0.5.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 13:17:19 -07:00
dependabot[bot] ac04491f1f Build(deps): Bump github.com/ulikunitz/xz from 0.5.10 to 0.5.14
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.10 to 0.5.14.
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.10...v0.5.14)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-version: 0.5.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 13:17:05 -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
minikube-bot cf5ea7268b Update auto-generated docs and translations 2025-08-28 10:49:08 -07:00
dependabot[bot] d99c511275 Build(deps): Bump github.com/docker/cli
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.3.2+incompatible to 28.3.3+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.3.2...v28.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 10:28:21 -07:00
Predrag Rogic 5fed7f9aa9 fix windows unit tests 2025-08-27 21:08:08 -07:00
Predrag Rogic 81a9a111d2 skip tests not relevant for windows 2025-08-27 21:08:08 -07:00
Predrag Rogic ee80ebace2 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 5878527b03 Kicbase: Bump ubuntu:jammy from 20250714 to 20250730 2025-08-27 14:41:18 -07:00
minikube-bot 83f259d024 Update auto-generated docs and translations 2025-08-27 11:06:19 -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
dependabot[bot] 92296b7a96 Build(deps): Bump k8s.io/kubectl from 0.33.1 to 0.33.4
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) from 0.33.1 to 0.33.4.
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.33.1...v0.33.4)

---
updated-dependencies:
- dependency-name: k8s.io/kubectl
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 10:57:32 -07:00
dependabot[bot] 3f82b6c6f4 Build(deps): Bump k8s.io/component-base from 0.33.3 to 0.33.4
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.33.3 to 0.33.4.
- [Commits](https://github.com/kubernetes/component-base/compare/v0.33.3...v0.33.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 10:57:21 -07:00
dependabot[bot] b3247227b6 Build(deps): Bump cloud.google.com/go/storage from 1.55.0 to 1.56.1
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.55.0 to 1.56.1.
- [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.55.0...storage/v1.56.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-version: 1.56.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 10:57:11 -07:00
minikube-bot 1b116ed090 CI: Update gh from 2.76.2 to 2.78.0 2025-08-25 13:40:25 -07:00
minikube-bot e5f64e9dc9 Update auto-generated docs and translations 2025-08-25 13:35:04 -07:00
dependabot[bot] b0a88b5369 Build(deps): Bump github.com/opencontainers/cgroups from 0.0.1 to 0.0.4
Bumps [github.com/opencontainers/cgroups](https://github.com/opencontainers/cgroups) from 0.0.1 to 0.0.4.
- [Release notes](https://github.com/opencontainers/cgroups/releases)
- [Changelog](https://github.com/opencontainers/cgroups/blob/main/RELEASES.md)
- [Commits](https://github.com/opencontainers/cgroups/compare/v0.0.1...v0.0.4)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/cgroups
  dependency-version: 0.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 13:30:41 -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
minikube-bot 7d4604a368 Update auto-generated docs and translations 2025-08-22 19:50:40 -07:00
Nir Soffer 65ef5bd2c4 test: Usse kickbase/echo-server for service tests
The echoserver-arm:1.8 image is not an arm64 image:

    % kubectl create deployment echoserver --image registry.k8s.io/echoserver-arm:1.8
    deployment.apps/echoserver created

    % kubectl logs deploy/echoserver
    exec /usr/sbin/nginx: exec format error

    % minikube ssh -- sudo nerdctl -n k8s.io image ls registry.k8s.io/echoserver-arm:1.8
    REPOSITORY                        TAG    IMAGE ID        CREATED               PLATFORM       SIZE        BLOB SIZE
    registry.k8s.io/echoserver-arm    1.8    b33d4cdf6ed0    About a minute ago    linux/amd64    90.1 MiB    43.2 MiB

Replace with kickbase/echo-server we used in other tests.

With this change ServerCmdConnect pass. The other test using the broken
arm image was not failing, maybe it was not checking the deployment
status properly.

Functional tests time reduced from 230 seconds to 200 seconds:

    --- FAIL: TestFunctional (200.87s)
2025-08-22 19:46:16 -07:00
Nir Soffer cb07147efe test: Add contants_test file
Currently keeping one constant for kickbase/echo-server used in the
image tests. We want to use this in other tests.
2025-08-22 19:46:16 -07:00
Nir Soffer a8babb399c constants: Update kubeacm contants
Generated using:

    make update-kubeadm-constants
2025-08-22 14:27:03 -07:00