跳到主要内容

Kubernetes 中的 Quantity

备注

Quantity No matter which of the three exponent forms is used, no quantity may represent a number greater than 26312^{63}-1 in magnitude, nor may it have more than 3 decimal places.

Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.

那么对于 uint64 类型的数值,其表示范围为 026410\sim 2^{64}-1,但没有涵盖在 Quantity 的范围内。