Skip to content

Commit 17bdeb4

Browse files
committed
[zh] Sync kubelet-config-file.md
1 parent 4a949af commit 17bdeb4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

content/zh-cn/docs/tasks/administer-cluster/kubelet-config-file.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ In this example, the kubelet is configured with the following settings:
101101
2. `port`:kubelet 将在 `20250` 端口上提供服务。
102102
3. `serializeImagePulls`:并行拉取镜像。
103103
4. `evictionHard`:kubelet 将在以下情况之一驱逐 Pod:
104+
104105
- 当节点的可用内存降至 100MiB 以下时。
105-
- 当节点主文件系统的已使用 inode 超过 95%
106+
- 当节点主文件系统的可用空间小于 10% 时
106107
- 当镜像文件系统的可用空间小于 15% 时。
107108
- 当节点主文件系统的 inode 超过 95% 正在使用时。
108109

@@ -113,8 +114,8 @@ evictionHard, the default values of other parameters will not be inherited and
113114
will be set to zero. In order to provide custom values, you should provide all
114115
the threshold values respectively.
115116
-->
116-
在示例中,通过只更改 evictionHard 的一个参数的默认值,
117-
其他参数的默认值将不会被继承,他们会被设置为零。如果要提供自定义值,你应该分别设置所有阈值。
117+
在此示例中,只更改 evictionHard 的一个参数的默认值,
118+
这样其他参数的默认值将不会被继承,其他参数会被设置为零。如果要提供自定义值,你应该分别设置所有阈值。
118119
{{< /note >}}
119120

120121
<!--
@@ -134,7 +135,7 @@ If you use kubeadm to initialize your cluster, use the kubelet-config while crea
134135
See [configuring kubelet using kubeadm](/docs/setup/production-environment/tools/kubeadm/kubelet-integration/) for details.
135136
-->
136137
如果你使用 kubeadm 初始化你的集群,在使用 `kubeadm init` 创建你的集群的时候请使用 kubelet-config。
137-
更多细节请阅读[使用 kubeadm 配置 kubelet](/zh-cn/docs/setup/production-environment/tools/kubeadm/kubelet-integration/)
138+
更多细节请阅读[使用 kubeadm 配置 kubelet](/zh-cn/docs/setup/production-environment/tools/kubeadm/kubelet-integration/)
138139
{{< /note >}}
139140

140141
<!--
@@ -379,7 +380,8 @@ they can follow these steps to inspect the kubelet configuration:
379380
"imagefs.available": "15%",
380381
"memory.available": "100Mi",
381382
"nodefs.available": "10%",
382-
"nodefs.inodesFree": "5%"
383+
"nodefs.inodesFree": "5%",
384+
"imagefs.inodesFree": "5%"
383385
},
384386
"evictionPressureTransitionPeriod": "1m0s",
385387
"enableControllerAttachDetach": true,

0 commit comments

Comments
 (0)