@@ -34,7 +34,7 @@ is defined by the
34
34
[`KubeletConfiguration`](/docs/reference/config-api/kubelet-config.v1beta1/)
35
35
struct.
36
36
-->
37
- ## 创建配置文件
37
+ ## 创建配置文件 {#create-config-file}
38
38
39
39
[ ` KubeletConfiguration ` ] ( /zh-cn/docs/reference/config-api/kubelet-config.v1beta1/ )
40
40
结构体定义了可以通过文件配置的 Kubelet 配置子集,
@@ -86,21 +86,22 @@ the threshold values respectively.
86
86
87
87
<!--
88
88
## Start a Kubelet process configured via the config file
89
-
90
- If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with ` kubeadmin init`.
91
- See [configuring kubelet using kubeadm](/docs/setup/production-environment/tools/kubeadm/kubelet-integration/) for details.
92
-
93
- Start the Kubelet with the `--config` flag set to the path of the Kubelet's config file.
94
- The Kubelet will then load its config from this file.
95
89
--->
96
-
97
- # # 启动通过配置文件配置的 Kubelet 进程
90
+ ## 启动通过配置文件配置的 Kubelet 进程 {#start-kubelet-via-config-file}
98
91
99
92
{{< note >}}
100
- 如果你使用 kubeadm 初始化你的集群,在使用 `kubeadmin init` 创建你的集群的时候请使用 kubelet-config。
93
+ <!--
94
+ If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with ` kubeadm init`.
95
+ See [configuring kubelet using kubeadm](/docs/setup/production-environment/tools/kubeadm/kubelet-integration/) for details.
96
+ -->
97
+ 如果你使用 kubeadm 初始化你的集群,在使用 `kubeadm init` 创建你的集群的时候请使用 kubelet-config。
101
98
更多细节请阅读[使用 kubeadm 配置 kubelet](/zh-cn/docs/setup/production-environment/tools/kubeadm/kubelet-integration/)
102
99
{{< /note >}}
103
100
101
+ <!--
102
+ Start the Kubelet with the `--config` flag set to the path of the Kubelet's config file.
103
+ The Kubelet will then load its config from this file.
104
+ -->
104
105
启动 Kubelet 需要将 `--config` 参数设置为 Kubelet 配置文件的路径。Kubelet 将从此文件加载其配置。
105
106
106
107
<!--
@@ -137,5 +138,5 @@ In the above example, this version is `kubelet.config.k8s.io/v1beta1`.
137
138
[`KubeletConfiguration`](/docs/reference/config-api/kubelet-config.v1beta1/)
138
139
reference.
139
140
--->
140
- - 参阅 [`KubeletConfiguration`](/zh-cn/docs/reference/config-api/kubelet-config.v1beta1/)
141
+ - 参阅 [`KubeletConfiguration`](/zh-cn/docs/reference/config-api/kubelet-config.v1beta1/)
141
142
进一步学习 kubelet 的配置。
0 commit comments