Platform metrics are available. Engineers need live CPU and memory usage for a permits API Pod to right-size requests. Which built-in CLI command helps?
Select an answer to reveal the explanation.
Short Explanation
Right-sizing starts with ‘what’s it actually using?’ kubectl top pod (with metrics available) shows live CPU and memory for your app Pods. That beats guessing from a one-off free or reading only the explain docs.
Full Explanation
kubectl top reports resource usage from the metrics pipeline (for example Metrics Server). For application maintenance, top on Pods informs request and limit adjustments. kubectl explain documents the schema but not live usage; cordoning nodes or a single free snapshot is a poor substitute for cluster metrics views.