<p>I found my coredns pod throw error: <code>Readiness probe failed: Get http://172.30.224.7:8080/health: net/http: request canceled (Client.Timeout exceeded while awaiting headers)</code> . I am delete pod using this command:</p>

<pre><code>kubectl delete pod coredns-89764d78c-mbcbz -n kube-system
</code></pre>

<p>but the command keep waiting and nothing response,how to know the progress of deleting? this is output:</p>

<pre><code>[root@ops001 ~]# kubectl delete pod coredns-89764d78c-mbcbz -n kube-system
pod "coredns-89764d78c-mbcbz" deleted
</code></pre>

<p>and the terminal hangs or blocked,when I use browser UI with using kubernetes dashboard the pod exits.how to force delete it? or fix it the right way?</p>

<p><a href="https://i.stack.imgur.com/nxAWw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nxAWw.png" alt="enter image description here"></a></p>

<p>You are deleting a <code>pod</code> which is monitored by <code>deployment</code> controller. That's why when you delete one of the <code>pods</code>, the controller create another to make sure the number of <code>pods</code> equal to the replica count. If you really want to delete the <code>coredns</code>[<strong>not recommended</strong>], delete the <code>deployment</code> instead of the <code>pods</code>.</p>

<pre><code>$ kubectl delete deployment coredns -n kube-system
</code></pre>
