<p>I am looking for a way to do something like that</p>
<pre><code>kubectl get pods -l app=foo | kubectl delete
</code></pre>
<p>I think this would be a great way to deal with multiple ressources at once, but I cannot find a reasonably easy way to do this.</p>

<p>You may use command substitution:</p>
<pre><code>Kubectl delete $(kubectl get pod -l app=foo -o name)
</code></pre>
