<p>I have started pods with command</p>
<pre class="lang-sh prettyprint-override"><code>$ kubectl run busybox \
--image=busybox \
--restart=Never \
--tty \
-i \
--generator=run-pod/v1
</code></pre>
<p>Something went wrong, and now I can't delete this <code>Pod</code>.</p>
<p>I tried using the methods described below but the <code>Pod</code> keeps being recreated.</p>
<pre class="lang-sh prettyprint-override"><code>$ kubectl delete pods  busybox-na3tm
pod &quot;busybox-na3tm&quot; deleted

$ kubectl get pods
NAME                                     READY     STATUS              RESTARTS   AGE
busybox-vlzh3                            0/1       ContainerCreating   0          14s

$ kubectl delete pod busybox-vlzh3 --grace-period=0

$ kubectl delete pods --all
pod &quot;busybox-131cq&quot; deleted
pod &quot;busybox-136x9&quot; deleted
pod &quot;busybox-13f8a&quot; deleted
pod &quot;busybox-13svg&quot; deleted
pod &quot;busybox-1465m&quot; deleted
pod &quot;busybox-14uz1&quot; deleted
pod &quot;busybox-15raj&quot; deleted
pod &quot;busybox-160to&quot; deleted
pod &quot;busybox-16191&quot; deleted

$ kubectl get pods --all-namespaces
NAMESPACE   NAME            READY     STATUS              RESTARTS   AGE
default     busybox-c9rnx   0/1       RunContainerError   0          23s
</code></pre>

<p>You need to delete the deployment, which should in turn delete the pods and the replica sets <a href="https://github.com/kubernetes/kubernetes/issues/24137" rel="noreferrer">https://github.com/kubernetes/kubernetes/issues/24137</a></p>
<p>To list all deployments:</p>
<pre><code>kubectl get deployments --all-namespaces
</code></pre>
<p>Then to delete the deployment:</p>
<pre><code>kubectl delete -n NAMESPACE deployment DEPLOYMENT
</code></pre>
<p>Where NAMESPACE is the namespace it's in, and DEPLOYMENT is the name of the deployment. If NAMESPACE is <code>default</code>, leave off the <code>-n</code> option altogether.</p>
<p>In some cases it could also be running due to a job or daemonset.
Check the following and run their appropriate delete command.</p>
<pre><code>kubectl get jobs

kubectl get daemonsets.app --all-namespaces

kubectl get daemonsets.extensions --all-namespaces
</code></pre>
