kubectl top pods — Basic UsageIT technician command center
Containers · Docker and Kubernetes

kubectl top pods — Basic Usage

Use kubectl top pods for a standard administrative task.

Copy-ready commandkubectl top pods — Basic Usage
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 Usage

Use kubectl top pods for a standard administrative task.

kubectl top pods -A

Original command

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.