Closed Goginet closed 4 years ago
Hi, I found bug on Nodes Overview page.
The reason of this incorrect prometheus query:
sum(kube_pod_container_resource_requests_cpu_cores) by (node)
This query contains pods which not running now (for example completed jobs)
Solution: Exclude not running pods in query which calculate node mem/cpu requests
Hi, @Goginet Thanks for your PR. We will check it & merge asap
Hi, I found bug on Nodes Overview page.
The reason of this incorrect prometheus query:
sum(kube_pod_container_resource_requests_cpu_cores) by (node)
This query contains pods which not running now (for example completed jobs)
Solution: Exclude not running pods in query which calculate node mem/cpu requests