Merge pull request #25050 from pierrchen/etcdSetup

kubeadm: add instruction to check kubelet status
This commit is contained in:
Kubernetes Prow Robot
2020-11-16 16:22:05 -08:00
committed by GitHub
@@ -50,7 +50,7 @@ this example.
1. Configure the kubelet to be a service manager for etcd. 1. Configure the kubelet to be a service manager for etcd.
{{< note >}}You must do this on every host where etcd should be running.{{< /note >}} {{< note >}}You must do this on every host where etcd should be running.{{< /note >}}
Since etcd was created first, you must override the service priority by creating a new unit file Since etcd was created first, you must override the service priority by creating a new unit file
that has higher precedence than the kubeadm-provided kubelet unit file. that has higher precedence than the kubeadm-provided kubelet unit file.
@@ -68,6 +68,12 @@ this example.
systemctl restart kubelet systemctl restart kubelet
``` ```
Check the kubelet status to ensure it is running.
```sh
systemctl status kubelet
```
1. Create configuration files for kubeadm. 1. Create configuration files for kubeadm.
Generate one kubeadm configuration file for each host that will have an etcd Generate one kubeadm configuration file for each host that will have an etcd