Skip to content

Commit e396a65

Browse files
authored
Merge pull request #34941 from tmos22/patch-1
Fix quantity case for ephemeral storage
2 parents 643f797 + 8f63028 commit e396a65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

content/en/docs/concepts/configuration/manage-resources-containers.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,14 +332,18 @@ container of a Pod can specify either or both of the following:
332332

333333
Limits and requests for `ephemeral-storage` are measured in byte quantities.
334334
You can express storage as a plain integer or as a fixed-point number using one of these suffixes:
335-
E, P, T, G, M, K. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi,
335+
E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi,
336336
Mi, Ki. For example, the following quantities all represent roughly the same value:
337337

338338
- `128974848`
339339
- `129e6`
340340
- `129M`
341341
- `123Mi`
342342

343+
Pay attention to the case of the suffixes. If you request `400m` of ephemeral-storage, this is a request
344+
for 0.4 bytes. Someone who types that probably meant to ask for 400 mebibytes (`400Mi`)
345+
or 400 megabytes (`400M`).
346+
343347
In the following example, the Pod has two containers. Each container has a request of
344348
2GiB of local ephemeral storage. Each container has a limit of 4GiB of local ephemeral
345349
storage. Therefore, the Pod has a request of 4GiB of local ephemeral storage, and

0 commit comments

Comments
 (0)