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 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 ...
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 ...
Licensing for Kubernetes monitoring
The main Kubernetes cluster is considered one basic monitor. For the other components, the licensing is done as follows: Component Licensing Nodes 1 monitor consumes two basic licenses Pods 5 monitors consume one basic license Containers 5 monitors ...
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 ...
Average resource utilization by Kubernetes agent
The resource consumption of our Kubernetes monitoring agent can vary based on factors such as your managed Kubernetes service provider and resource counts. To provide an average estimation of resource usage, the agent typically utilizes: A maximum of ...