The query below shows the cpu usage of the pod.
■pod CPU usage query
(sum(rate(container_cpu_usage_seconds_total{container_name!=“POD”,namespace=“xx-xxx”,container_name!="",pod=~“xxx."}[5m]))by (pod) /sum(kube_pod_container_resource_limits_cpu_cores{namespace=“xx-xxx”,pod=~"xxx.”})by (pod))*100
- CPU usage is over 100. Is the above query correct?
- Why is it over 100%?