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
The [`kubeadm`](/docs/reference/setup-tools/kubeadm/) tool now supports etcd learner mode, which
11
11
allows you to enhance the resilience and stability
12
-
of your Kubernetes clusters by leveraging the [learner mode](https://etcd.io/docs/v3.4/learning/design-learner/#appendix-learner-implementation-in-v34)
12
+
of your Kubernetes clusters by leveraging the [learner mode](https://etcd.io/docs/v3.4/learning/design-learner/#appendix-learner-implementation-in-v34)
13
13
feature introduced in etcd version 3.4.
14
14
This guide will walk you through using etcd learner mode with kubeadm. By default, kubeadm runs
15
15
a local etcd instance on each control plane node.
@@ -23,19 +23,19 @@ promoted to a voting member only after the etcd data are fully aligned.
23
23
etcd learner mode offers several compelling reasons to consider its adoption
24
24
in Kubernetes clusters:
25
25
26
-
1.**Enhanced Resilience**: etcd learner nodes are non-voting members that catch up with
27
-
the leader's logs before becoming fully operational. This prevents new cluster members
28
-
from disrupting the quorum or causing leader elections, making the cluster more resilient
29
-
during membership changes.
30
-
2.**Reduced Cluster Unavailability**: Traditional approaches to adding new members often
31
-
result in cluster unavailability periods, especially in slow infrastructure or misconfigurations.
32
-
etcd learner mode minimizes such disruptions.
33
-
3.**Simplified Maintenance**: Learner nodes provide a safer and reversible way to add or replace
34
-
cluster members. This reduces the risk of accidental cluster outages due to misconfigurations or
To check if the Kubernetes control plane is healthy, run `kubectl get node -l node-role.kubernetes.io/control-plane=`
89
89
and check if the nodes are ready.
90
90
91
-
Note: It is recommended to have an odd number of members in a etcd cluster.
91
+
{{< note >}}
92
+
It is recommended to have an odd number of members in an etcd cluster.
93
+
{{< /note >}}
92
94
93
95
Before joining a worker node to the new Kubernetes cluster, ensure that the control plane nodes are healthy.
94
96
95
97
## What's next
96
98
97
99
- The feature gate `EtcdLearnerMode` is alpha in v1.27 and we expect it to graduate to beta in the next
98
-
minor release of Kubernetes (v1.29).
99
-
- etcd has an open issue that may make the process more automatic:
100
+
minor release of Kubernetes (v1.29).
101
+
- etcd has an open issue that may make the process more automatic:
100
102
[Support auto-promoting a learner member to a voting member](https://github.com/etcd-io/etcd/issues/15107).
101
-
- Learn more about the kubeadm [configuration format](/docs/reference/config-api/kubeadm-config.v1beta3/) here.
103
+
- Learn more about the kubeadm [configuration format](/docs/reference/config-api/kubeadm-config.v1beta3/).
102
104
103
105
## Feedback
104
106
105
107
Was this guide helpful? If you have any feedback or encounter any issues, please let us know.
106
108
Your feedback is always welcome! Join the bi-weekly [SIG Cluster Lifecycle meeting](https://docs.google.com/document/d/1Gmc7LyCIL_148a9Tft7pdhdee0NBHdOfHS1SAF0duI4/edit)
107
-
or weekly [kubeadm office hours](https://docs.google.com/document/d/130_kiXjG7graFNSnIAgtMS1G8zPDwpkshgfRYS0nggo/edit). Or reach us via [Slack](https://slack.k8s.io/) (channel **#kubeadm**), or the [SIG's mailing list](https://groups.google.com/g/kubernetes-sig-cluster-lifecycle).
109
+
or weekly [kubeadm office hours](https://docs.google.com/document/d/130_kiXjG7graFNSnIAgtMS1G8zPDwpkshgfRYS0nggo/edit).
110
+
Or reach us via [Slack](https://slack.k8s.io/) (channel **#kubeadm**), or the
0 commit comments