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.
SubscribeRelated
kubectl top nodekubectl top podHorizontal Pod Autoscaler (HPA)Vertical Pod Autoscaler (VPA)Metrics Server