County engineers suspect a memory leak in the permits API and need to identify which pods are consuming abnormal memory right now. Which approach fits?
Select an answer to reveal the explanation.
Short Explanation
kubectl top pods is like walking the server room with a thermal camera for memory—hot pods stick out so you can chase the leak.
Full Explanation
kubectl top pods surfaces current CPU and memory usage per pod via the metrics API, helping locate abnormal consumers such as a leaking application. Deleting StorageClasses, draining nodes, or reading Ingress annotations are not appropriate methods to obtain live per-pod memory samples.