Skip to content

Commit 973d95a

Browse files
authored
Merge pull request #35175 from kinzhi/kinzhi165
[zh-cn]Update content/zh-cn/docs/concepts/configuration/manage-resources-containers.md
2 parents 5011498 + fc851ff commit 973d95a

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

content/zh-cn/docs/concepts/configuration/manage-resources-containers.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Kubernetes 不允许设置精度小于 `1m` 的 CPU 资源。
235235
Limits and requests for `memory` are measured in bytes. You can express memory as
236236
a plain integer or as a fixed-point number using one of these
237237
[quantity](/docs/reference/kubernetes-api/common-definitions/quantity/) suffixes:
238-
E, P, T, G, M, K. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi,
238+
E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi,
239239
Mi, Ki. For example, the following represent roughly the same value:
240240
-->
241241
## 内存资源单位 {#meaning-of-memory}
@@ -256,8 +256,8 @@ Pay attention to the case of the suffixes. If you request `400m` of memory, this
256256
for 0.4 bytes. Someone who types that probably meant to ask for 400 mebibytes (`400Mi`)
257257
or 400 megabytes (`400M`).
258258
-->
259-
请注意后缀的大小写。如果你请求 `400m` 内存,实际上请求的是 0.4 字节。
260-
如果有人这样设定资源请求或限制,可能他的实际想法是申请 400 兆字节`400Mi`
259+
请注意后缀的大小写。如果你请求 `400m` 临时存储,实际上所请求的是 0.4 字节。
260+
如果有人这样设定资源请求或限制,可能他的实际想法是申请 400Mi 字节`400Mi`
261261
或者 400M 字节。
262262

263263
<!--
@@ -629,6 +629,15 @@ Pod 中的每个容器可以设置以下属性:
629629
- `129M`
630630
- `123Mi`
631631

632+
<!--
633+
Pay attention to the case of the suffixes. If you request `400m` of ephemeral-storage, this is a request
634+
for 0.4 bytes. Someone who types that probably meant to ask for 400 mebibytes (`400Mi`)
635+
or 400 megabytes (`400M`).
636+
-->
637+
请注意后缀的大小写。如果你请求 `400m` 临时存储,实际上所请求的是 0.4 字节。
638+
如果有人这样设定资源请求或限制,可能他的实际想法是申请 400Mi 字节(`400Mi`)
639+
或者 400M 字节。
640+
632641
<!--
633642
In the following example, the Pod has two containers. Each container has a request of
634643
2GiB of local ephemeral storage. Each container has a limit of 4GiB of local ephemeral

0 commit comments

Comments
 (0)