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.
This commit is contained in:
Lubomir I. Ivanov
2025-10-22 12:28:19 +02:00
parent 2679d3a7c6
commit 38373335cd

View File

@@ -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