During a council-demo traffic spike, city SREs want a quick view of CPU and memory pressure per node. Which command is appropriate when metrics are available?
Select an answer to reveal the explanation.
Short Explanation
kubectl top nodes is the glance-at-the-fuel-gauges command—CPU and memory per node—when metrics-server (or equivalent) is feeding data.
Full Explanation
kubectl top nodes queries the resource metrics API to show CPU and memory usage per node, which is useful during load spikes. Commands such as auth can-i, cordon, and api-resources serve authorization testing, cordoning, and API discovery—not live utilization charts.