Skip to content

Commit 3a46ff7

Browse files
authored
Merge pull request #32216 from my-git9/patch-53
[zh] Update memory-manager.md
2 parents a3887bf + 6261a4c commit 3a46ff7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/zh/docs/tasks/administer-cluster/memory-manager.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,17 @@ Kubernetes 调度器在优化 Pod 调度过程时,会考虑“可分配的”
287287
并完成跨 NUMA 节点的预留操作。
288288

289289
<!--
290-
The flag specifies a comma-separated list of memory reservations per NUMA node.
290+
The flag specifies a comma-separated list of memory reservations of different memory types per NUMA node.
291+
Memory reservations across multiple NUMA nodes can be specified using semicolon as separator.
291292
This parameter is only useful in the context of the Memory Manager feature.
292293
The Memory Manager will not use this reserved memory for the allocation of container workloads.
293294
294295
For example, if you have a NUMA node "NUMA0" with `10Gi` of memory available, and
295296
the `--reserved-memory` was specified to reserve `1Gi` of memory at "NUMA0",
296297
the Memory Manager assumes that only `9Gi` is available for containers.
297298
-->
298-
标志设置的值是一个按 NUMA 节点所给的内存预留的值的列表,用逗号分开。
299+
标志设置的值是一个按 NUMA 节点的不同内存类型所给的内存预留的值的列表,用逗号分开。
300+
可以使用分号作为分隔符来指定跨多个 NUMA 节点的内存预留。
299301
只有在内存管理器特性被启用的语境下,这个参数才有意义。
300302
内存管理器不会使用这些预留的内存来为容器负载分配内存。
301303

@@ -426,7 +428,7 @@ Here is an example of a correct configuration:
426428
--kube-reserved=cpu=4,memory=4Gi
427429
--system-reserved=cpu=1,memory=1Gi
428430
--memory-manager-policy=Static
429-
--reserved-memory 0:memory=3Gi --reserved-memory 1:memory=2148Mi
431+
--reserved-memory '0:memory=3Gi;1:memory=2148Mi'
430432
```
431433

432434
<!--

0 commit comments

Comments
 (0)