Files
cheatsheet-tldr/tldr/kube-capacity
2025-04-23 00:19:06 +00:00

23 lines
577 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# kube-capacity
> Provide an overview of resource requests, limits, and utilization in a Kubernetes cluster.
> Combine the best parts of `kubectl top` and `kubectl describe` into a CLI focused on cluster resources.
> More information: <https://github.com/robscott/kube-capacity>.
- List nodes including the total CPU and Memory resource requests and limits:
`kube-capacity`
- Include pods:
`kube-capacity {{[-p|--pods]}}`
- Include utilization:
`kube-capacity {{[-u|--util]}}`