HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kube-capacity — Provide an overview of resource requests, limits, and utilization in a Kubernetes cluster. Combine t

Submitted by: @import:tldr-pages··
0
Viewed 0 times
kube-capacityresourcecommandoverviewrequestsclilimitsprovide

Problem

How to use the kube-capacity command: 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>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/kube-capacity

Revisions (0)

No revisions yet.