diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go index 555c3ebfaba3..338f2cdfa7da 100644 --- a/pkg/minikube/constants/constants.go +++ b/pkg/minikube/constants/constants.go @@ -34,7 +34,7 @@ var ( const ( // DefaultKubernetesVersion is the default Kubernetes version // dont update till #10545 is solved - DefaultKubernetesVersion = "v1.20.8" + DefaultKubernetesVersion = "v1.21.2" // 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-beta.0" diff --git a/pkg/minikube/reason/k8s.go b/pkg/minikube/reason/k8s.go index 75c3a385857a..840403656fad 100644 --- a/pkg/minikube/reason/k8s.go +++ b/pkg/minikube/reason/k8s.go @@ -30,6 +30,7 @@ type K8sIssue struct { var k8sIssues = []K8sIssue{ { + // fixed by github.com/kubernetes/kubernetes/pull/99336 VersionsAffected: []string{ "1.18.16", "1.18.17", @@ -42,8 +43,6 @@ var k8sIssues = []K8sIssue{ "1.20.5", "1.20.6", "1.21.0", - "1.21.1", - "1.21.2", }, Description: "Kubernetes {{.version}} has a known performance issue on cluster startup. It might take 2 to 3 minutes for a cluster to start.", URL: "https://github.com/kubernetes/kubeadm/issues/2395", diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 2cc0fb5e9c8e..f407a7a3b9ff 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -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.22.0.iso,https://github.com/kubernetes/minikube/releases/download/v1.22.0/minikube-v1.22.0.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.22.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.8, 'latest' for v1.22.0-beta.0). Defaults to 'stable'. + --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.21.2, 'latest' for v1.22.0-beta.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")