Skip to content

Commit 34f2a0f

Browse files
authored
Merge pull request kubernetes#134775 from neolit123/1.35-adjust-supported-etcd-versions-by-kubeadm
kubeadm: adjust the etcd version map for release 1.35
2 parents e4d85d1 + 3837333 commit 34f2a0f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cmd/kubeadm/app/constants/constants.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ const (
323323
KubeletHealthzPort = 10248
324324

325325
// MinExternalEtcdVersion indicates minimum external etcd version which kubeadm supports
326-
MinExternalEtcdVersion = "3.5.21-0"
326+
MinExternalEtcdVersion = "3.5.23-0"
327327

328328
// DefaultEtcdVersion indicates the default etcd version that kubeadm uses
329329
DefaultEtcdVersion = "3.6.5-0"
@@ -497,11 +497,14 @@ var (
497497
CurrentKubernetesVersion = getSkewedKubernetesVersion(0)
498498

499499
// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases
500+
// If you are updating the versions in this map, make sure to also update:
501+
// - MinExternalEtcdVersion: with the minimum etcd version from this map.
502+
// - DefaultEtcdVersion: with etcd version used for the current k8s release.
500503
SupportedEtcdVersion = map[uint8]string{
501-
31: "3.5.23-0",
502504
32: "3.5.23-0",
503505
33: "3.5.23-0",
504-
34: "3.6.5-0",
506+
34: "3.5.23-0",
507+
35: "3.6.5-0",
505508
}
506509

507510
// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows

0 commit comments

Comments
 (0)