@@ -101,8 +101,9 @@ In this example, the kubelet is configured with the following settings:
101
101
2. `port`:kubelet 将在 `20250` 端口上提供服务。
102
102
3. `serializeImagePulls`:并行拉取镜像。
103
103
4. `evictionHard`:kubelet 将在以下情况之一驱逐 Pod:
104
+
104
105
- 当节点的可用内存降至 100MiB 以下时。
105
- - 当节点主文件系统的已使用 inode 超过 95% 。
106
+ - 当节点主文件系统的可用空间小于 10% 时 。
106
107
- 当镜像文件系统的可用空间小于 15% 时。
107
108
- 当节点主文件系统的 inode 超过 95% 正在使用时。
108
109
@@ -113,8 +114,8 @@ evictionHard, the default values of other parameters will not be inherited and
113
114
will be set to zero. In order to provide custom values, you should provide all
114
115
the threshold values respectively.
115
116
-->
116
- 在示例中,通过只更改 evictionHard 的一个参数的默认值,
117
- 其他参数的默认值将不会被继承,他们会被设置为零 。如果要提供自定义值,你应该分别设置所有阈值。
117
+ 在此示例中,只更改 evictionHard 的一个参数的默认值,
118
+ 这样其他参数的默认值将不会被继承,其他参数会被设置为零 。如果要提供自定义值,你应该分别设置所有阈值。
118
119
{{< /note >}}
119
120
120
121
<!--
@@ -134,7 +135,7 @@ If you use kubeadm to initialize your cluster, use the kubelet-config while crea
134
135
See [configuring kubelet using kubeadm](/docs/setup/production-environment/tools/kubeadm/kubelet-integration/) for details.
135
136
-->
136
137
如果你使用 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/)。
138
139
{{< /note >}}
139
140
140
141
<!--
@@ -379,7 +380,8 @@ they can follow these steps to inspect the kubelet configuration:
379
380
"imagefs.available": "15%",
380
381
"memory.available": "100Mi",
381
382
"nodefs.available": "10%",
382
- "nodefs.inodesFree": "5%"
383
+ "nodefs.inodesFree": "5%",
384
+ "imagefs.inodesFree": "5%"
383
385
},
384
386
"evictionPressureTransitionPeriod": "1m0s",
385
387
"enableControllerAttachDetach": true,
0 commit comments