<p>My question is related to Kubernetes and the units of the metrics used for the HPA (autoscaling).</p>

<p>When I run the command</p>

<p><code>kubectl describe hpa my-autoscaler</code></p>

<p>I get (a part of more information) this:</p>

<pre><code>...
Metrics:                                               ( current / target )
  resource memory on pods:                             318067507200m / 1000Mi
  resource cpu on pods  (as a percentage of request):  1% (1m) / 80%
...
</code></pre>

<p>In this example, when you can see the metrics for the <strong>resource memory on pods</strong>, you can see that the unit for the <code>current</code> value is <code>m</code>, which is "millis" (as is described in the <a href="https://kubernetes.io/docs/reference/glossary/?core-object=true#term-quantity" rel="nofollow noreferrer">official documentation</a>), but the unit used for the <code>target</code> value is <code>Mi</code>, which is "Mebis"</p>

<p>Is there any problem with the usage of different units?</p>

<p>Thanks!</p>

Lobo
<p>No, they are just different multipliers. The actual code is using a raw number of bytes under the hood.</p>
