kubernetes – Allocated Resources percentage in “kubectl top node”
Doing a kubectl describe node I get:
[...]
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource Requests Limits
-------- -------- ------
cpu 14095m (56%) 48794m (195%)
memory 28669Mi (12%) 50824Mi (21%)
ephemeral-storage 22342Mi (41%) 34558Mi (64%)
hugepages-1Gi 0 (0%) 0 (0%)
hugepages-2Mi 0 (0%) 0 (0%)
Which “total” value is it taking for calculating the percentage for each of the resources?
For example, I’m taking the cpu Request value by summing all the values from the previous “CPU Request” in the “Non-terminated Pods” section, but I realized the percentage is not the direct result of summing each of the corresponding pods percentages.
Read more here: Source link