<p>I've a running kubernetes(v1.11.1) cluster consisting of three nodes. I need to remove a node from the cluster properly. What should be the proper way to do that?
I've used kubeadm to create the cluster.</p>

<p>Always drain the node before removing it:</p>

<pre><code>kubectl drain $NODE
</code></pre>

<p>Draining evicts every pod in the node and cordons it, so no new pods will be scheduled in it.</p>

<p>You can use these parameters to 'force' draining, overriding some restrictions:</p>

<pre><code>kubectl drain $NODE --force=true --delete-local-data=true --ignore-daemonsets=true
</code></pre>

<p>Find further info here:</p>

<p><a href="https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/" rel="noreferrer">https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/</a></p>
