CmdID / kubectl / kubectl top
kubectl top nodes
Display resource (CPU/memory) usage of nodes kubectl reference
7 options
Also kubectl top no, kubectl top node
Its page in the kubectl reference
Options
--help, -hhelp for node--no-headersIf present, print output without headers--selector, -lSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)).--show-capacityPrint node resources based on Capacity instead of Allocatable(default) of the nodes.--show-swapPrint node resources related to swap memory.--sort-byIf non-empty, sort nodes list using specified field.--use-protocol-buffersEnables using protocol-buffers to access Metrics API.