Command
Kubernetes Show Node Metrics Command
The Kubernetes command to show node metrics is kubectl top node.
Quick Answer
- Command
kubectl top node
KubernetesCommand
Show Node Metrics
Type this command
kubectl top node
Shows metrics for all nodes.
How to show node metrics in Kubernetes
- Open the terminal or command interface for Kubernetes.
- Type kubectl top node, replace any placeholders, and run it.
Kubernetes Show Node Metrics Command
Run kubectl top node.
Frequently asked questions
What is the Kubernetes command to show node metrics?
Run kubectl top node.
Where do I type this Kubernetes command?
Type it in the terminal or command-line interface used by Kubernetes.
Does this Kubernetes command work on Mac and Windows?
Yes. The command text is the same on both platforms when the tool is installed.
Official source · How we verify