mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
kubeadm: Bump minimum Kubernetes version to v1.12
Bump MinimumControlPlaneVersion and MinimumKubeletVersion to v1.12 and update any related tests. Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
This commit is contained in:
@@ -647,13 +647,13 @@ func TestKubeletVersionCheck(t *testing.T) {
|
||||
expectErrors bool
|
||||
expectWarnings bool
|
||||
}{
|
||||
{"v1.12.2", "", false, false}, // check minimally supported version when there is no information about control plane
|
||||
{"v1.9.3", "v1.9.8", true, false}, // too old kubelet (older than kubeadmconstants.MinimumKubeletVersion), should fail.
|
||||
{"v1.11.0", "v1.11.5", false, false}, // kubelet within same major.minor as control plane
|
||||
{"v1.11.5", "v1.11.1", false, false}, // kubelet is newer, but still within same major.minor as control plane
|
||||
{"v1.11.0", "v1.12.1", false, false}, // kubelet is lower than control plane, but newer than minimally supported
|
||||
{"v1.12.0-alpha.1", "v1.11.1", true, false}, // kubelet is newer (development build) than control plane, should fail.
|
||||
{"v1.12.0", "v1.11.5", true, false}, // kubelet is newer (release) than control plane, should fail.
|
||||
{"v1.13.2", "", false, false}, // check minimally supported version when there is no information about control plane
|
||||
{"v1.11.3", "v1.11.8", true, false}, // too old kubelet (older than kubeadmconstants.MinimumKubeletVersion), should fail.
|
||||
{"v1.12.0", "v1.12.5", false, false}, // kubelet within same major.minor as control plane
|
||||
{"v1.12.5", "v1.12.1", false, false}, // kubelet is newer, but still within same major.minor as control plane
|
||||
{"v1.12.0", "v1.13.1", false, false}, // kubelet is lower than control plane, but newer than minimally supported
|
||||
{"v1.13.0-alpha.1", "v1.12.1", true, false}, // kubelet is newer (development build) than control plane, should fail.
|
||||
{"v1.13.0", "v1.12.5", true, false}, // kubelet is newer (release) than control plane, should fail.
|
||||
}
|
||||
|
||||
for _, tc := range cases {
|
||||
|
Reference in New Issue
Block a user