Skip to content

Commit

Permalink
Merge pull request #11525 from medyagh/bump_k8s
Browse files Browse the repository at this point in the history
bump default k8s version and newest
  • Loading branch information
medyagh authored Jun 2, 2021
2 parents 27072f7 + c944930 commit 0b83c00
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "192.168.32.0/20"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/bootstrapper/bsutil/testdata/v1.22/crio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/bootstrapper/bsutil/testdata/v1.22/dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: minikube.local
podSubnet: "10.244.0.0/16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ etcd:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.22.0-alpha.1
kubernetesVersion: v1.22.0-alpha.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
Expand Down
4 changes: 2 additions & 2 deletions pkg/minikube/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ var (
const (
// DefaultKubernetesVersion is the default Kubernetes version
// dont update till #10545 is solved
DefaultKubernetesVersion = "v1.20.2"
DefaultKubernetesVersion = "v1.20.7"
// 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.22.0-alpha.1"
NewestKubernetesVersion = "v1.22.0-alpha.2"
// OldestKubernetesVersion is the oldest Kubernetes version to test against
OldestKubernetesVersion = "v1.14.0"
// DefaultClusterName is the default nane for the k8s cluster
Expand Down
1 change: 0 additions & 1 deletion pkg/minikube/reason/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ var k8sIssues = []K8sIssue{
"1.20.4",
"1.20.5",
"1.20.6",
"1.20.7",
"1.21.0",
"1.21.1",
},
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/commands/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ minikube start [flags]
--interactive Allow user prompts for more information (default true)
--iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube/iso/minikube-v1.20.0.iso,https://github.com/kubernetes/minikube/releases/download/v1.20.0/minikube-v1.20.0.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.20.0.iso])
--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.20.2, 'latest' for v1.22.0-alpha.1). Defaults to 'stable'.
--kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.20.7, 'latest' for v1.22.0-alpha.2). 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")
Expand Down

0 comments on commit 0b83c00

Please sign in to comment.