<p>I'm trying to find all the allowed formats used when specifying quotas, but all I can find are examples that may not cover all the cases. For instance</p>
<ul>
<li>CPU limits are expressed in milliCPU (&quot;200m&quot;) but it seems plain integer are also acceptable and maybe even decimal numbers.</li>
<li>Storage size examples are in &quot;Gi&quot; but there could be other units?</li>
</ul>

<p>The <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes" rel="nofollow noreferrer">Resource units in Kubernetes</a> section of the doc describes the meaning and the allowed values for the CPU and memory resources.</p>
<p>To quote:</p>
<p><strong>Meaning of CPU:</strong></p>
<blockquote>
<p>Limits and requests for CPU resources are measured in
cpu units. One cpu, in Kubernetes, is equivalent to 1 vCPU/Core for
cloud providers and 1 hyperthread on bare-metal Intel processors.</p>
</blockquote>
<p><strong>Allowed values:</strong></p>
<blockquote>
<p>Fractional requests are allowed. A Container with
spec.containers[].resources.requests.cpu of 0.5 is guaranteed half as
much CPU as one that asks for 1 CPU. The expression 0.1 is equivalent
to the expression 100m, which can be read as &quot;one hundred millicpu&quot;.
Some people say &quot;one hundred millicores&quot;, and this is understood to
mean the same thing. A request with a decimal point, like 0.1, is
converted to 100m by the API, and precision finer than 1m is not
allowed. For this reason, the form 100m might be preferred.</p>
<p>CPU is always requested as an absolute quantity, never as a relative
quantity; 0.1 is the same amount of CPU on a single-core, dual-core,
or 48-core machine.</p>
</blockquote>
<p><strong>Meaning of memory and allowed values:</strong></p>
<blockquote>
<p>Limits and requests for memory are measured in bytes. You can express
memory as a plain integer or as a fixed-point number using one of
these suffixes: E, P, T, G, M, K. You can also use the power-of-two
equivalents: Ei, Pi, Ti, Gi, Mi, Ki. For example, the following
represent roughly the same values: <code>128974848, 129e6, 129M, 123Mi</code></p>
</blockquote>
