Is there any documentation that describes this "m" and "k". In the k8s documentation, I could see for "Mi", "Gi" etc, but not this. Any help would be greatly appreciated.
What is the unit of lower case "m" and "k" in the image below?
1.3k views Asked by Arun Prakash Nagendran At
2
There are 2 answers
1
On
I stumbled across the same issue and found out:
If you specifiy a memory request with a number that has a fractional part and its result (in Bytes) has a fractional part as well than this exotic unit millibyte is used.
It's even more exotic because 1024 m is 1 Byte.
For example:
0.2Gi (214748364,8 Byte) yields 214748364800m
whereas
0,5Mi (524288 Byte) yields 512Ki
"i" units (like Ki, Mi, Gi, Pi, Ei) are base-2 units (1 Ki = 1024 Bytes, 1Mi = 1024x1024 Bytes and so on).

After some research i got this : Those are Kubernetes-style quantities, Instead of displaying things as a decimal, it will display with SI suffixes. For instance, 1.5 becomes 1500m. When Kubernetes displays a quantity, it will tend to use milli-units if there would be a decimal point, and plain units otherwise. So, if it had to display 500 on the dot, it would just display 500, but if it's 500.5, it would display 500500m. So m means divide by 1000, k means times 1000. There's no documentation really except this. Search for "Kubernetes-style quantities" if you want to see more examples.
1m/750m = (1/1000)/(750/1000) = 0.001/.75 = .1%/75%
refer this link also