From 121979513d929a380d8d6f964238e3bb5dae6baa Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Tue, 13 Aug 2024 17:26:02 +0000 Subject: [PATCH] bump default/newest kubernetes versions --- .../bsutil/testdata/v1.31/containerd-api-port.yaml | 2 +- .../bsutil/testdata/v1.31/containerd-pod-network-cidr.yaml | 2 +- .../bootstrapper/bsutil/testdata/v1.31/containerd.yaml | 2 +- .../bsutil/testdata/v1.31/crio-options-gates.yaml | 2 +- pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio.yaml | 2 +- pkg/minikube/bootstrapper/bsutil/testdata/v1.31/default.yaml | 2 +- pkg/minikube/bootstrapper/bsutil/testdata/v1.31/dns.yaml | 2 +- .../bootstrapper/bsutil/testdata/v1.31/image-repository.yaml | 2 +- pkg/minikube/bootstrapper/bsutil/testdata/v1.31/options.yaml | 2 +- pkg/minikube/constants/constants.go | 4 ++-- site/content/en/docs/commands/start.md | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-api-port.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-api-port.yaml index 80f0a55e864f..a7260d1afa0a 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-api-port.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-api-port.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-pod-network-cidr.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-pod-network-cidr.yaml index 374e26f7a6af..2db4da31061e 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-pod-network-cidr.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd-pod-network-cidr.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "192.168.32.0/20" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd.yaml index a2329bbca04d..d5dccaccd579 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/containerd.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio-options-gates.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio-options-gates.yaml index 5c188b449932..da42aff37007 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio-options-gates.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio-options-gates.yaml @@ -44,7 +44,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio.yaml index 85fa922ac9fe..819f15ce08d3 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/crio.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/default.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/default.yaml index 422c4e67c206..df50e2e23d7c 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/default.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/default.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/dns.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/dns.yaml index 1950d5236595..e9872a1029d9 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/dns.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/dns.yaml @@ -38,7 +38,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: minikube.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/image-repository.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/image-repository.yaml index 4fe0f9927010..2e2d09403d88 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/image-repository.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/image-repository.yaml @@ -39,7 +39,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/options.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/options.yaml index f4f0ecd63a97..f712250ab5d6 100644 --- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/options.yaml +++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.31/options.yaml @@ -41,7 +41,7 @@ etcd: dataDir: /var/lib/minikube/etcd extraArgs: proxy-refresh-interval: "70000" -kubernetesVersion: v1.31.0-rc.1 +kubernetesVersion: v1.31.0 networking: dnsDomain: cluster.local podSubnet: "10.244.0.0/16" diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go index 215e06ef88c3..50ae3631af7a 100644 --- a/pkg/minikube/constants/constants.go +++ b/pkg/minikube/constants/constants.go @@ -34,10 +34,10 @@ var ( const ( // DefaultKubernetesVersion is the default Kubernetes version - DefaultKubernetesVersion = "v1.30.3" + DefaultKubernetesVersion = "v1.31.0" // NewestKubernetesVersion is the newest Kubernetes version to test against // NOTE: You may need to update coreDNS & etcd versions in pkg/minikube/bootstrapper/images/images.go - NewestKubernetesVersion = "v1.31.0-rc.1" + NewestKubernetesVersion = "v1.31.0" // OldestKubernetesVersion is the oldest Kubernetes version to test against OldestKubernetesVersion = "v1.20.0" // NoKubernetesVersion is the version used when users does NOT want to install kubernetes diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 8e904b6fc91e..7c1833c7720e 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -74,7 +74,7 @@ minikube start [flags] --interactive Allow user prompts for more information (default true) --iso-url strings Locations to fetch the minikube ISO from. The list depends on the machine architecture. --keep-context This will keep the existing kubectl context and will create a minikube context. - --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.30.3, 'latest' for v1.31.0-rc.1). Defaults to 'stable'. + --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.31.0, 'latest' for v1.31.0). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube --kvm-hidden Hide the hypervisor signature from the guest in minikube (kvm2 driver only) --kvm-network string The KVM default network name. (kvm2 driver only) (default "default")