@@ -131,7 +131,7 @@ The configuration is located under the `data.kubelet` key.
131
131
To reflect the change on kubeadm nodes you must do the following:
132
132
- Log in to a kubeadm node
133
133
- Run ` kubeadm upgrade node phase kubelet-config ` to download the latest ` kubelet-config `
134
- ConfigMap contents into the local file ` /var/lib/kubelet/config.conf `
134
+ ConfigMap contents into the local file ` /var/lib/kubelet/config.yaml `
135
135
- Edit the file ` /var/lib/kubelet/kubeadm-flags.env ` to apply additional configuration with
136
136
flags
137
137
- Restart the kubelet service with ` systemctl restart kubelet `
@@ -142,10 +142,10 @@ Do these changes one node at a time to allow workloads to be rescheduled properl
142
142
143
143
{{< note >}}
144
144
During ` kubeadm upgrade ` , kubeadm downloads the ` KubeletConfiguration ` from the
145
- ` kubelet-config ` ConfigMap and overwrite the contents of ` /var/lib/kubelet/config.conf ` .
145
+ ` kubelet-config ` ConfigMap and overwrite the contents of ` /var/lib/kubelet/config.yaml ` .
146
146
This means that node local configuration must be applied either by flags in
147
147
` /var/lib/kubelet/kubeadm-flags.env ` or by manually updating the contents of
148
- ` /var/lib/kubelet/config.conf ` after ` kubeadm upgrade ` , and then restarting the kubelet.
148
+ ` /var/lib/kubelet/config.yaml ` after ` kubeadm upgrade ` , and then restarting the kubelet.
149
149
{{< /note >}}
150
150
151
151
### Applying kube-proxy configuration changes
@@ -264,14 +264,14 @@ the set of node specific patches must be updated accordingly.
264
264
265
265
#### Persisting kubelet reconfiguration
266
266
267
- Any changes to the ` KubeletConfiguration ` stored in ` /var/lib/kubelet/config.conf ` will be overwritten on
267
+ Any changes to the ` KubeletConfiguration ` stored in ` /var/lib/kubelet/config.yaml ` will be overwritten on
268
268
` kubeadm upgrade ` by downloading the contents of the cluster wide ` kubelet-config ` ConfigMap.
269
- To persist kubelet node specific configuration either the file ` /var/lib/kubelet/config.conf `
269
+ To persist kubelet node specific configuration either the file ` /var/lib/kubelet/config.yaml `
270
270
has to be updated manually post-upgrade or the file ` /var/lib/kubelet/kubeadm-flags.env ` can include flags.
271
271
The kubelet flags override the associated ` KubeletConfiguration ` options, but note that
272
272
some of the flags are deprecated.
273
273
274
- A kubelet restart will be required after changing ` /var/lib/kubelet/config.conf ` or
274
+ A kubelet restart will be required after changing ` /var/lib/kubelet/config.yaml ` or
275
275
` /var/lib/kubelet/kubeadm-flags.env ` .
276
276
277
277
## {{% heading "whatsnext" %}}
0 commit comments