Difference between revisions of "Kubectl top --help"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 19: Line 19:
 
Use "kubectl options" for a list of global command-line options (applies to all commands).
 
Use "kubectl options" for a list of global command-line options (applies to all commands).
 
</pre>
 
</pre>
 +
 +
 +
[[kubectl top node]]
  
 
== See also ==
 
== See also ==

Revision as of 14:54, 1 June 2022

kubectl top --help
Display Resource (CPU/Memory) usage.

 The top command allows you to see the resource consumption for nodes or pods.

 This command requires Metrics Server to be correctly configured and working on the server.

Available Commands:
  node          Display resource (CPU/memory) usage of nodes
  pod           Display resource (CPU/memory) usage of pods

Usage:
  kubectl top [flags] [options]

Use "kubectl <command> --help" for more information about a given command.
Use "kubectl options" for a list of global command-line options (applies to all commands).


kubectl top node

See also

Advertising: