Skip to content

Commit 74243e9

Browse files
committed
kubeadm: add instruction to check kubelet status
kubelet can fail to start due to various reason, e.g mismatching cgroup drivers. Add this step to save user from having to go back and check when found etcd cluster is not running successfully.
1 parent 96469d5 commit 74243e9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ this example.
5050

5151

5252
1. Configure the kubelet to be a service manager for etcd.
53-
53+
5454
{{< note >}}You must do this on every host where etcd should be running.{{< /note >}}
5555
Since etcd was created first, you must override the service priority by creating a new unit file
5656
that has higher precedence than the kubeadm-provided kubelet unit file.
@@ -68,6 +68,12 @@ this example.
6868
systemctl restart kubelet
6969
```
7070
71+
Check the kubelet status to ensure it is running.
72+
73+
```sh
74+
systemctl status kubelet
75+
```
76+
7177
1. Create configuration files for kubeadm.
7278
7379
Generate one kubeadm configuration file for each host that will have an etcd

0 commit comments

Comments
 (0)