Skip to content
masterclass Buddy

Kubernetes · Command

kubectl top

kubectl top displays recent CPU and memory use for Kubernetes nodes and pods. It needs a working Metrics Server and is mainly useful for quick checks and autoscaling-related inspection.

Last updated

Syntax

kubectl top [node|pod] [NAME | -l label] [flags]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • kubectl top node
  • kubectl top pod
  • Horizontal Pod Autoscaler (HPA)
  • Vertical Pod Autoscaler (VPA)
  • Metrics Server

Source: kubectl top | Kubernetes. Checked 2026-11-03.