<p>I know how to delete a specific pod:</p>
<pre><code>kubectl -n &lt;namespace&gt; delete pod &lt;pod-name&gt;
</code></pre>
<p>Is there a way to delete all the Terminated pods once?</p>
<p><a href="https://i.stack.imgur.com/EA2sW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EA2sW.png" alt="enter image description here" /></a></p>

KaliTheGreat
<p>What does <code>terminated</code> pod mean? If you wish to delete finished pods of any jobs in the namespace then you can remove them with a single command:</p>
<pre class="lang-bash prettyprint-override"><code>kubectl -n &lt;namespace&gt; delete pods --field-selector=status.phase==Succeeded
</code></pre>
<p>Another approach in Kubernetes 1.23 onwards is to use Job's TTL controller feature:</p>
<pre class="lang-yaml prettyprint-override"><code>spec:
  ttlSecondsAfterFinished: 100
</code></pre>
<p>In your case <code>Terminated</code> status means your pods are in a failed state. To remove them just change the <code>status.phase</code> to <code>Failed</code> state (<a href="https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodStatus" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodStatus</a>)</p>
