<p>Is there a --sort-by option that allows you to sort by nodes which have the greatest number of pods running?</p>

Nathan McKaskle
<p>how about this way:</p>

<pre><code>kubectl get nodes -o=custom-columns=Pods:.status.capacity.pods,NAME:metadata.name | sort -nr
</code></pre>

<p>or <code>kubectl get nodes --sort-by=.status.capacity.pods</code></p>
