Site24x7 Kubernetes Monitor uses the kubelet API and kube-state-metrics API to collect the metrics related to memory and CPU utilization.
For memory utilization, the calculation works as follows:
Working set size (WSS) memory usage
--------------------------------------------- x 100 = Memory utilization (%)
Memory limit of pod
Example:
WSS memory usage = 150MiB
Memory limit set for that pod = 256MiB
Memory utilization by percentage = 150 / 256 x 100 = 58.5%
For CPU utilization, the calculation works as follows:
CPU usage
-------------------- x 100 = CPU utilization (%)
CPU limit of pod
Example:
CPU usage = 200 millicores
CPU limit of that pod = 400 millicores
CPU utilization in percentage = 200 / 400 x 100 = 50%
Related Articles
How do I monitor specific resource types like Pods, Containers, and Deployments?
To monitor specific resource types of Kubernetes like Pods, Containers, and Deployments: Log in to your Site24x7 account. Go to Admin > Inventory > Configuration Rules. Click Add Rule. Enter a proper Display Name and Description. Define the Criteria ...
How to set the maximum CPU and memory usage by Site24x7 Windows server monitoring agent after installation?
Follow the instructions below to set the maximum CPU and disk memory used by Site24x7 Windows server monitoring agent. Open the command Run terminal, enter regedit, and click OK. Navigate to HKEY_LOCAL_MACHINE > SOFTWARE > WOW6432Node > ManageEngine ...
Licensing for Kubernetes monitoring
The licensing for the Kubernetes monitors is as follows: Component Licensing Cluster One cluster monitor consumes one basic monitor license Nodes One node monitor consumes two host licenses* *The first 10 containers on each node are free. After that, ...
Why is No Data shown for the Pod metrics?
In your Site24x7 web client (Server > Kubernetes > Pods > select the Pod monitor > click Performance), you might get No Data for metrics such as CPU Limit and Requests, Memory Limit and Requests, CPU Utilization, and Memory Utilization (%) as shown ...
Licensing for Kubernetes monitoring (old)
This article contains the licensing model for the customers who signed up before August 2024. Check out this article for more information on the new licensing pattern. Note that the new licensing model applies to users who signed up after August ...