Update kubelet-config-file.md (#27192)

* Update kubelet-config-file.md

add note and link to kubeadm/kubelet-integration

* Update content/en/docs/tasks/administer-cluster/kubelet-config-file.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
Marc Bihlmaier 2021-03-29 15:00:45 +02:00 committed by GitHub
parent d830ee0f5b
commit 3ccdb3426a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -53,6 +53,11 @@ For a trick to generate a configuration file from a live node, see
## Start a Kubelet process configured via the config file
{{< note >}}
If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with `kubeadmin init`.
See [configuring kubelet using kubeadm](/docs/setup/production-environment/tools/kubeadm/kubelet-integration/) for details.
{{< /note >}}
Start the Kubelet with the `--config` flag set to the path of the Kubelet's config file.
The Kubelet will then load its config from this file.
@ -80,4 +85,3 @@ is considered the default "last known good" configuration by the automatic rollb