LinuxCommandLibrary

kube-capacity

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

TLDR

Show cluster capacity

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

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.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community