CmdID

CmdID / Commands

kubectl-top

See the resource consumption for nodes or pods. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Get the resource consumption of all nodes

kubectl top [noIdentify

Get resource consumption of a specific node

kubectl top [no node_nameIdentify

Get resource consumption of all pods

kubectl top [poIdentify

Get resource consumption of a specific pod

kubectl top [po pod_nameIdentify

Get resource consumption of all pods in a namespace

kubectl top [po --namespace namespace_nameIdentify
--namespaceIf present, the namespace scope for this CLI request kubectl reference

Get resource consumption of all containers in a pod

kubectl top [po --containersIdentify

Get resource consumption of all pods with the specified label

kubectl top [po --selector key=valueIdentify