Container memory and CPU unitization in percentage.
26 views
Skip to first unread message
Anoop
unread,
Nov 27, 2020, 7:55:46 AM11/27/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi,
Is there anyway to find out the container CPU and Memory utilization in percentage using CAdvisor metrics? So that I can configure alert when it reaches a threshold value.
Thank you,
Anoop
Anoop
unread,
Nov 27, 2020, 8:00:54 AM11/27/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Please note that I need to calculate the percentage based on the resource limit (not based on the node memory).
For eg:
If the memory resource limit 1GiB and the current usage of the container is 100MiB, then result should be like 10%