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
Copy file name to clipboardExpand all lines: content/en/blog/_posts/2023-09-25-kubeadm-use-etcd-learner-mode.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,11 @@ The [`kubeadm`](/docs/reference/setup-tools/kubeadm/) tool now supports etcd lea
11
11
allows you to enhance the resilience and stability
12
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
-
This guide will walk you through using etcd learner mode with kubeadm.
14
+
This guide will walk you through using etcd learner mode with kubeadm. By default, kubeadm runs
15
+
a local etcd instance on each control plane node.
15
16
16
17
In v1.27, kubeadm introduced a new feature gate `EtcdLearnerMode`. With this feature gate enabled,
17
-
when joining a new control plane node, a new etcd member will be created as a learner and
18
+
when joining a new control plane node, a new etcd member will be created as a learner and
18
19
promoted to a voting member only after the etcd data are fully aligned.
19
20
20
21
## What are the advantages of using etcd learner mode?
@@ -69,11 +70,31 @@ The kubeadm tool deploys a single-node Kubernetes cluster with etcd set to use l
69
70
Before joining a control-plane node to the new Kubernetes cluster, ensure that the existing control plane nodes
70
71
and all etcd members are healthy.
71
72
73
+
Check the cluster health with `etcdctl`. If `etcdctl` isn't available, you can run this tool inside a container image.
74
+
You would do that directly with your container runtime using a tool such as `crictl run` and not through Kubernetes
75
+
76
+
Here is an example on a client command that uses secure communication to check the cluster health of the etcd cluster:
0 commit comments