@@ -235,7 +235,7 @@ Kubernetes 不允许设置精度小于 `1m` 的 CPU 资源。
235
235
Limits and requests for `memory` are measured in bytes. You can express memory as
236
236
a plain integer or as a fixed-point number using one of these
237
237
[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,
239
239
Mi, Ki. For example, the following represent roughly the same value:
240
240
-->
241
241
## 内存资源单位 {#meaning-of-memory}
@@ -256,8 +256,8 @@ Pay attention to the case of the suffixes. If you request `400m` of memory, this
256
256
for 0.4 bytes. Someone who types that probably meant to ask for 400 mebibytes (`400Mi`)
257
257
or 400 megabytes (`400M`).
258
258
-->
259
- 请注意后缀的大小写。如果你请求 ` 400m ` 内存,实际上请求的是 0.4 字节。
260
- 如果有人这样设定资源请求或限制,可能他的实际想法是申请 400 兆字节 (` 400Mi ` )
259
+ 请注意后缀的大小写。如果你请求 ` 400m ` 临时存储,实际上所请求的是 0.4 字节。
260
+ 如果有人这样设定资源请求或限制,可能他的实际想法是申请 400Mi 字节 (` 400Mi ` )
261
261
或者 400M 字节。
262
262
263
263
<!--
@@ -629,6 +629,15 @@ Pod 中的每个容器可以设置以下属性:
629
629
- ` 129M`
630
630
- ` 123Mi`
631
631
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
+
632
641
<!--
633
642
In the following example, the Pod has two containers. Each container has a request of
634
643
2GiB of local ephemeral storage. Each container has a limit of 4GiB of local ephemeral
0 commit comments