Post

Open sourcing a new kubectl plugin called `kubectl node-resource` that queries allocations/utilizations for all/subset of the Kubernetes nodes. It has optimizations for large clusters. We've needed this in our set up to quickly answer questions. github.com/ahmetb/kubec...

12 reposts43 likes

Why a CLI and not a metrics dashboard? I would think you would want to answer utilization/efficiency/cost questions over a time period, rather than just at any given instant. Tho I guess allocation at a given instant might be useful for making a decision about where to schedule a new workload.

Yeah, we also plumb all the data to mysql over time and build UIs on top. This is more for ad hoc surgical queries for nodes matching a particular label (plus I wanna be able to use this in my next jobs too 😛)