kubectl top
SafeResource usage
kubectl top pod -n <ns>
Shows CPU/memory usage for pods/nodes (needs metrics-server).
Examples
kubectl top pod -n prodPod resource usage
Syntax
kubectl top pod|node [-n <ns>]
Before you run it
Read-only.
Related commands
- kubectl get podsList pods
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store