<p>I would like to sort the pod by maximum CPU usage. I know there is a lot of tools which comes with monitoring. I would like to find this by using 'kubectl top' command.</p>

<p>any help is appreciated - thanks</p>

<p>you can run the below command to sort all pods across all namespaces by their cpu utilization.</p>
<pre><code>kubectl top po -A --sort-by=cpu
</code></pre>
