Closed bilalcaliskan closed 2 years ago
Thanks @bilalcaliskan! This looks like a great addition.
@robscott build failed on master branch but i guess it is not related with this PR, complaining about constant naming.
No worries, I'll get a fix out soon, thanks for catching that!
What type of PR is this? /kind feature
What this PR does / why we need it: This PR displays pod counts for each node and for cluster, in the form of "${CURRENT}/${ALLOCATABLE}". This will help users to know how many pods are located on each node on the cluster and how many pods are located on the whole cluster.
Which issue(s) this PR fixes: Fixes #49
Special notes for your reviewer: This PR adds the displaying pod count functionality for all type of printers(table/json/yaml). I have also tried to cover the changes with current testing functions. We should pass --pod-count argument to the program. Sample output is as follows: