File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
content/en/docs/setup/production-environment/tools/kubeadm Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -224,9 +224,17 @@ the `ca.key` you must sign the embedded certificates in the `kubelet.conf` exter
224
224
1. Copy this resulted `kubelet.conf` to `/etc/kubernetes/kubelet.conf` on the failed node.
225
225
1. Restart the kubelet (`systemctl restart kubelet`) on the failed node and wait for
226
226
` /var/lib/kubelet/pki/kubelet-client-current.pem` to be recreated.
227
- 1. Run `kubeadm init phase kubelet-finalize all` on the failed node. This will make the new
228
- ` kubelet.conf` file use `/var/lib/kubelet/pki/kubelet-client-current.pem` and will restart the kubelet.
227
+ 1. Manually edit the `kubelet.conf` to point to the rotated kubelet client certificates, by replacing
228
+ `client-certificate-data` and `client-key-data` with :
229
+
230
+ ` ` ` yaml
231
+ client-certificate: /var/lib/kubelet/pki/kubelet-client-current.pem
232
+ client-key: /var/lib/kubelet/pki/kubelet-client-current.pem
233
+ ` ` `
234
+
235
+ 1. Restart the kubelet.
229
236
1. Make sure the node becomes `Ready`.
237
+
230
238
# # Default NIC When using flannel as the pod network in Vagrant
231
239
232
240
The following error might indicate that something was wrong in the pod network :
You can’t perform that action at this time.
0 commit comments