devopsprodigy / kubegraf

Grafana-plugin for k8s' monitoring
MIT License
407 stars 45 forks source link

Pod Limit, CPU, Memory shows double data #36

Closed forumsheth15 closed 4 years ago

forumsheth15 commented 4 years ago

Hi @SergeiSporyshev on the Node Overview page, the Used and Requested Pod Limits, CPU and Memory shows double the count as on the cluster. Below are the screenshots for referrence:

  1. kubectl describe node image image

  2. Node Overview page image

If you see the images..the pod count from describing the node is 15 and on the overview page it shows 30. Likewise for CPU and Memory. Can you please look in to the issue and let me know why is it so?

SergeiSporyshev commented 4 years ago

Hi, @forumsheth15 Thanks for your issue

What is your prometheus installation? Seems like you have duplicate targets

forumsheth15 commented 4 years ago

Hi @SergeiSporyshev Thanks for pointing out, yes there were two targets with same configuration which were scarping same data. I have deleted one and now I can see proper data. Thankyou the issue is solved now.