From 38373335cd19a7fc70d7982d01e83ffdd170b63a Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 22 Oct 2025 12:28:19 +0200 Subject: [PATCH] kubeadm: adjust the etcd version map for release 1.35 Remove 1.31, add 1.35. Also, add a note that there are a couple of variables that must be updated as well. --- cmd/kubeadm/app/constants/constants.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index 07b254f7d72..4237cb00cb2 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -323,7 +323,7 @@ const ( KubeletHealthzPort = 10248 // MinExternalEtcdVersion indicates minimum external etcd version which kubeadm supports - MinExternalEtcdVersion = "3.5.21-0" + MinExternalEtcdVersion = "3.5.23-0" // DefaultEtcdVersion indicates the default etcd version that kubeadm uses DefaultEtcdVersion = "3.6.5-0" @@ -497,11 +497,14 @@ var ( CurrentKubernetesVersion = getSkewedKubernetesVersion(0) // SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases + // If you are updating the versions in this map, make sure to also update: + // - MinExternalEtcdVersion: with the minimum etcd version from this map. + // - DefaultEtcdVersion: with etcd version used for the current k8s release. SupportedEtcdVersion = map[uint8]string{ - 31: "3.5.23-0", 32: "3.5.23-0", 33: "3.5.23-0", - 34: "3.6.5-0", + 34: "3.5.23-0", + 35: "3.6.5-0", } // KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows