robscott / kube-capacity

A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster
Apache License 2.0
2.09k stars 114 forks source link

incorrect POD COUNT #69

Closed cloud-66 closed 2 years ago

cloud-66 commented 2 years ago

There was fixed #49 by #60 . But it shows wrong number of pods, bigger than limit number. Because it shows all kind of pods : completed, Error etc. But it should show the same number as command kubectl describe node , "Non-terminated Pods" field. This field show if it possible to schedule pod on this node or not.

image

robscott commented 2 years ago

Fixed by #70, thanks @cloud-66!