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:
parent
d830ee0f5b
commit
3ccdb3426a
|
@ -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
|
## 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.
|
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.
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue