mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
577 B
Plaintext
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]}}`
|