kube-capacity

provides a simple view of Kubernetes resource requests, limits, and utilization

TLDR

Show cluster capacity
$ kube-capacity
Show pod resource usage
$ kube-capacity --pods
Show utilization percentages
$ kube-capacity --util
Show specific namespace
$ kube-capacity --namespace [default]
Show containers detail
$ kube-capacity --containers

SYNOPSIS

kube-capacity [options]

DESCRIPTION

kube-capacity provides a simple view of Kubernetes resource requests, limits, and utilization. Displays CPU and memory allocation across nodes, pods, and containers. Helps identify over-provisioned or under-utilized resources.

PARAMETERS

--pods

Show pod-level resource usage.
--containers
Show container-level details.
--util
Show utilization percentages.
--namespace name
Filter by namespace.
--node-labels selector
Filter by node labels.
--sort field
Sort output by field.

INSTALL

nix profile install nixpkgs#kube-capacity

SEE ALSO

kubectl(1), kubectl-top(1)