<p>I have removed and delete a node from k8s cluster using the following commands:</p>
<p><code>kubectl drain worker1 --ignore-daemonsets</code></p>
<p><code>kubectl delete worker1</code></p>
<p>After that, I saw the kube-proxy and the weave daemonset(both for worker1) still existed (it is expected since I ignored the daemonset)even the nodes is drained and deleted.</p>
<p>How can I remove these pods if the node(worker1) is drained and deleted.</p>
<p>Thank you</p>

sam ngai
<p>Find out the name of the pod which is scheduled on that deleted node and delete the pod using <code>kubectl delete pods &lt;pod_name&gt; --grace-period=0 --force -n &lt;namespace&gt;</code></p>
<p>Use below command to display more details about pod including the node on which the pod is scheduled</p>
<pre><code>kubectl get pods -n &lt;namespace&gt; -o wide
</code></pre>
<p>You could also use <code>kubeadm reset</code> on that node. Please note this will uninstall and remove all Kubernetes related software from that node.</p>
