kubeadm: Bump minimum supported versions and add etcd version for 1.22 and placeholder for 1.23

Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io>
This commit is contained in:
Niu Lechuan 2021-04-14 19:00:08 +08:00
parent f1c037889d
commit 520d49d2f9

View File

@ -440,13 +440,13 @@ var (
ControlPlaneComponents = []string{KubeAPIServer, KubeControllerManager, KubeScheduler}
// MinimumControlPlaneVersion specifies the minimum control plane version kubeadm can deploy
MinimumControlPlaneVersion = version.MustParseSemantic("v1.20.0")
MinimumControlPlaneVersion = version.MustParseSemantic("v1.21.0")
// MinimumKubeletVersion specifies the minimum version of kubelet which kubeadm supports
MinimumKubeletVersion = version.MustParseSemantic("v1.20.0")
MinimumKubeletVersion = version.MustParseSemantic("v1.21.0")
// CurrentKubernetesVersion specifies current Kubernetes version supported by kubeadm
CurrentKubernetesVersion = version.MustParseSemantic("v1.21.0")
CurrentKubernetesVersion = version.MustParseSemantic("v1.22.0")
// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases
SupportedEtcdVersion = map[uint8]string{
@ -460,6 +460,7 @@ var (
20: "3.4.13-0",
21: "3.4.13-0",
22: "3.4.13-0",
23: "3.4.13-0",
}
// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows