<p>I want to list a node's pods and pod statues, eg.</p>
<pre><code>Node A
Pod1 Status
Pod2 Status

Node B
Pod1 Status
Pod2 Status
</code></pre>
<p>Is there a <code>kubectl</code> command I can use for this?</p>

angelokh
<p>Try this:<br />
<code>kubectl get pods -A  --field-selector spec.nodeName=&lt;node name&gt; | awk '{print $2&quot;  &quot;$4}'</code></p>
