<p>I want to delete single pod of kubernetes permanently but it will recreate that pod</p>
<p>i have tried many commands but it doesn't help me.</p>
<pre><code>1. kubectl delete pod &lt;pod-name&gt;
</code></pre>
<p>2nd</p>
<pre><code>kubectl get deployments

kubectl delete deployments &lt;deployments- name&gt;
</code></pre>
<pre><code>kubectl get rs --all-namespaces
kubectl delete rs your_app_name

</code></pre>
<p>but None of that works</p>

NewbieCoder
<p><code>my replica count is 0</code></p>
<p><code>...it will successfully delete the pod but then after it will restart</code></p>
<p>Try:</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: ...
spec:
  restartPolicy: Never  # &lt;-- add this
  containers:
  - name: ...
</code></pre>
<p>If the pod still restart, post output of <code>kubectl describe pod &lt;pod name&gt; --namespace &lt;name&gt;</code> to your question.</p>
