Merge pull request #28025 from Priyankasaggu11929/patch-1

fix the `kubelet-config-1.21` configmap key value from `config` to `kubelet`
This commit is contained in:
Kubernetes Prow Robot
2021-05-19 08:34:52 -07:00
committed by GitHub
@@ -229,7 +229,7 @@ serverTLSBootstrap: true
If you have already created the cluster you must adapt it by doing the following:
- Find and edit the `kubelet-config-{{< skew latestVersion >}}` ConfigMap in the `kube-system` namespace.
In that ConfigMap, the `config` key has a
In that ConfigMap, the `kubelet` key has a
[KubeletConfiguration](/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
document as its value. Edit the KubeletConfiguration document to set `serverTLSBootstrap: true`.
- On each node, add the `serverTLSBootstrap: true` field in `/var/lib/kubelet/config.yaml`