You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"v"+constants.CurrentKubernetesVersion.WithPatch(2).String(), "", false, false}, // check minimally supported version when there is no information about control plane
796
-
{"v1.11.3", "v1.11.8", true, false}, // too old kubelet (older than kubeadmconstants.MinimumKubeletVersion), should fail.
796
+
{"v1.1.0", "v1.11.8", true, false}, // too old kubelet, should fail.
797
797
{"v"+constants.MinimumKubeletVersion.String(), constants.MinimumControlPlaneVersion.WithPatch(5).String(), false, false}, // kubelet within same major.minor as control plane
798
798
{"v"+constants.MinimumKubeletVersion.WithPatch(5).String(), constants.MinimumControlPlaneVersion.WithPatch(1).String(), false, false}, // kubelet is newer, but still within same major.minor as control plane
799
799
{"v"+constants.MinimumKubeletVersion.String(), constants.CurrentKubernetesVersion.WithPatch(1).String(), false, false}, // kubelet is lower than control plane, but newer than minimally supported
returnerrors.Errorf("this version of kubeadm only supports deploying clusters with the control plane version >= %s. Current version: %s", constants.MinimumControlPlaneVersion.String(), cfg.KubernetesVersion)
107
+
108
+
// During the k8s release process, a kubeadm version in the main branch could be 1.23.0-pre,
109
+
// while the 1.22.0 version is not released yet. The MinimumControlPlaneVersion validation
110
+
// in such a case will not pass, since the value of MinimumControlPlaneVersion would be
111
+
// calculated as kubeadm version - 1 (1.22) and k8sVersion would still be at 1.21.x
112
+
// (fetched from the 'stable' marker). Handle this case by only showing a warning.
0 commit comments