Skip to content

Commit 9cff3a5

Browse files
authored
Merge pull request #26394 from ydFu/update-out-of-resource
[zh] Sync task pages for administer-cluster/out-of-resource.md
2 parents fc903c0 + 5465e8e commit 9cff3a5

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

content/zh/docs/tasks/administer-cluster/out-of-resource.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,25 +219,28 @@ The `kubelet` has the following default hard eviction threshold:
219219
220220
* `memory.available<100Mi`
221221
* `nodefs.available<10%`
222-
* `nodefs.inodesFree<5%`
223222
* `imagefs.available<15%`
223+
224+
On a Linux node, the default value also includes `nodefs.inodesFree<5%`.
225+
224226
-->
225227
#### 硬驱逐阈值
226228

227-
硬驱逐阈值没有宽限期,一旦察觉,`kubelet`将立即采取行动回收关联的短缺资源。
228-
如果满足硬驱逐阈值,`kubelet`将立即结束 pod 而不是优雅终止
229+
硬驱逐阈值没有宽限期,一旦察觉,`kubelet` 将立即采取行动回收关联的短缺资源。
230+
如果满足硬驱逐阈值,`kubelet` 将立即结束 Pod 而不是体面地终止它们
229231

230232
硬驱逐阈值的配置支持下列标记:
231233

232-
* `eviction-hard` 描述了驱逐阈值的集合(例如 `memory.available<1Gi`),如果满足条件将触发 pod 驱逐。
234+
* `eviction-hard` 描述了驱逐阈值的集合(例如 `memory.available<1Gi`),如果满足条件将触发 Pod 驱逐。
233235

234236
`kubelet` 有如下所示的默认硬驱逐阈值:
235237

236238
* `memory.available<100Mi`
237239
* `nodefs.available<10%`
238-
* `nodefs.inodesFree<5%`
239240
* `imagefs.available<15%`
240241

242+
在Linux节点上,默认值还包括 `nodefs.inodesFree<5%`
243+
241244
<!--
242245
### Eviction Monitoring Interval
243246
@@ -273,6 +276,7 @@ The following node conditions are defined that correspond to the specified evict
273276
|-------------------------|-------------------------------|--------------------------------------------|
274277
| `MemoryPressure` | `memory.available` | Available memory on the node has satisfied an eviction threshold |
275278
| `DiskPressure` | `nodefs.available`, `nodefs.inodesFree`, `imagefs.available`, or `imagefs.inodesFree` | Available disk space and inodes on either the node's root filesystem or image filesystem has satisfied an eviction threshold |
279+
| `PIDPressure` | `pid.available` | Available processes identifiers on the (Linux) node has fallen below an eviction threshold |
276280
277281
The `kubelet` continues to report node status updates at the frequency specified by
278282
`--node-status-update-frequency` which defaults to `10s`.
@@ -283,6 +287,7 @@ The `kubelet` continues to report node status updates at the frequency specified
283287
|-------------------------|-------------------------------|--------------------------------------------|
284288
| `MemoryPressure` | `memory.available` | 节点上可用内存量达到逐出阈值 |
285289
| `DiskPressure` | `nodefs.available`, `nodefs.inodesFree`, `imagefs.available`, 或 `imagefs.inodesFree` | 节点或者节点的根文件系统或镜像文件系统上可用磁盘空间和 i 节点个数达到逐出阈值 |
290+
| `PIDPressure` | `pid.available` | 在(Linux)节点上的可用进程标识符已降至驱逐阈值以下 |
286291

287292
`kubelet` 将以 `--node-status-update-frequency` 指定的频率连续报告节点状态更新,其默认值为 `10s`
288293

0 commit comments

Comments
 (0)