kubectl top podsIT technician command center
Containers · Docker and Kubernetes

kubectl top pods

Display pod CPU and memory usage.

Copy-ready commandkubectl top pods
kubectl top pods -A

Requirements and permissions

Requirements
Docker Engine, Docker Compose, or kubectl
Permissions
Container or cluster permissions vary
Last reviewed
2026-07-31

Examples

Basic example

Display pod CPU and memory usage.

kubectl top pods -A

Common errors

Command not found

Confirm Docker Engine, Docker Compose, or kubectl is installed and available in your current shell.