Skip to content

Commit 2231901

Browse files
committed
kubeadm: update constants for 1.18
- Include 1.19 as a supported etcd mapping. - Update minimum and current versions.
1 parent d4c5637 commit 2231901

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/kubeadm/app/constants/constants.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,13 +411,13 @@ var (
411411
ControlPlaneComponents = []string{KubeAPIServer, KubeControllerManager, KubeScheduler}
412412

413413
// MinimumControlPlaneVersion specifies the minimum control plane version kubeadm can deploy
414-
MinimumControlPlaneVersion = version.MustParseSemantic("v1.16.0")
414+
MinimumControlPlaneVersion = version.MustParseSemantic("v1.17.0")
415415

416416
// MinimumKubeletVersion specifies the minimum version of kubelet which kubeadm supports
417-
MinimumKubeletVersion = version.MustParseSemantic("v1.16.0")
417+
MinimumKubeletVersion = version.MustParseSemantic("v1.17.0")
418418

419419
// CurrentKubernetesVersion specifies current Kubernetes version supported by kubeadm
420-
CurrentKubernetesVersion = version.MustParseSemantic("v1.17.0")
420+
CurrentKubernetesVersion = version.MustParseSemantic("v1.18.0")
421421

422422
// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases
423423
SupportedEtcdVersion = map[uint8]string{
@@ -427,6 +427,7 @@ var (
427427
16: "3.3.17-0",
428428
17: "3.4.3-0",
429429
18: "3.4.3-0",
430+
19: "3.4.3-0",
430431
}
431432

432433
// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows

0 commit comments

Comments
 (0)