提交 c401b426 编写于 作者: T Thomas Stromberg

Update default Kubernetes release to v1.19.1

上级 eeb05350
......@@ -96,7 +96,8 @@ func etcd(v semver.Version, mirror string) string {
// Should match `DefaultEtcdVersion` in:
// https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/constants/constants.go
ev := "3.4.9-1"
ev := "3.4.13-0"
switch v.Minor {
case 17, 18:
ev = "3.4.3-0"
......@@ -109,6 +110,12 @@ func etcd(v semver.Version, mirror string) string {
case 11:
ev = "3.2.18"
}
// An awkward special case for v1.19.0 - do not imitate unless necessary
if v.Equals(semver.MustParse("1.19.0")) {
ev = "3.4.9-1"
}
return path.Join(kubernetesRepo(mirror), "etcd"+archTag(needsArchSuffix)+ev)
}
......
......@@ -27,10 +27,10 @@ import (
const (
// DefaultKubernetesVersion is the default Kubernetes version
DefaultKubernetesVersion = "v1.19.0"
DefaultKubernetesVersion = "v1.19.1"
// 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.19.0"
NewestKubernetesVersion = "v1.19.1"
// OldestKubernetesVersion is the oldest Kubernetes version to test against
OldestKubernetesVersion = "v1.13.0"
// DefaultClusterName is the default nane for the k8s cluster
......
......@@ -67,7 +67,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.13.0.iso,https://github.com/kubernetes/minikube/releases/download/v1.13.0/minikube-v1.13.0.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.13.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.19.0, 'latest' for v1.19.0). Defaults to 'stable'.
--kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.19.1, 'latest' for v1.19.1). 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 network name. (kvm2 driver only) (default "default")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册