kubeadm: remove mentions of the the legacy kubelet-config-x.yy

The default kubelet configuration ConfigMap that kubeadm manages
is "kubelet-config" instead of "kubelet-config-x.yy" (where x.yy
is the Kubernetes version) in 1.24.

Cleanup references to the legacy naming in kubeadm documentation.

Generated contents in content/en/docs/reference/* are not updated.
This commit is contained in:
Lubomir I. Ivanov
2022-02-10 18:32:00 +02:00
parent 31a1f5b94e
commit 26f6a21308
2 changed files with 5 additions and 8 deletions
@@ -96,9 +96,7 @@ nodes before deleting the old nodes.
### Modify the kubelet ConfigMap
- Find the kubelet ConfigMap name using `kubectl get cm -n kube-system | grep kubelet-config`.
- Call `kubectl edit cm kubelet-config-x.yy -n kube-system` (replace `x.yy` with
the Kubernetes version).
- Call `kubectl edit cm kubelet-config -n kube-system`.
- Either modify the existing `cgroupDriver` value or add a new field that looks like this:
```yaml