<p>I often sometimes my pods for debugging with <code>kubectl delete pod</code>, so it updates the container image. But every time I have to lookup
the complete name of the pod:</p>
<pre><code>kubectl delete pod deployment_name-56fccbbfb8g4rj6
</code></pre>
<p>How can I just delete the pod without knowing the hash?</p>

user1981275
<p>You can delete the pod based on the labels. For example, if your pod has label <code>app=alpine</code>, you can delete it like this:</p>
<pre><code>kubectl delete pod -l app=alpine
</code></pre>
