KubernetesCommand
Show Pod Metrics
Type this command
kubectl top podShows CPU and memory metrics for all pods in the namespace.
Tip: Requires the metrics server to be installed in the cluster.
The Kubernetes command to show pod metrics is kubectl top pod.
kubectl top podkubectl top podShows CPU and memory metrics for all pods in the namespace.
Tip: Requires the metrics server to be installed in the cluster.
Tip: Requires the metrics server to be installed in the cluster.
Run kubectl top pod.
Run kubectl top pod.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.