<p>I looking for the option to list all pods name</p>

<p>How to do without awk (or cut). Now i'm using this command</p>

<pre><code>kubectl get --no-headers=true pods -o name | awk -F "/" '{print $2}'
</code></pre>

<p>Personally I prefer this method because it relies only on kubectl, is not very verbose and we don't get the pod/ prefix in the output:</p>

<pre><code>kubectl get pods --no-headers -o custom-columns=":metadata.name"
</code></pre>
