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

Add a flag to exclude tainted nodes #101

Closed barrykp closed 8 months ago

barrykp commented 1 year ago

On a cluster that has many tainted nodes it's not straightforward to understand whether there is sufficient capacity to drain one: nodes with taints can make it seem like there is more capacity than there really would be.

This patch solves for the simplest use case by allowing all tainted nodes to be excluded with a flag.

robscott commented 8 months ago

Thanks @barrykp! Sorry for the delay on getting to this!