<p>When I drain and remove existing work node in cluster, if I want to rejoin it to master, it report a error under below.</p>

<pre><code>error execution phase preflight: [preflight] Some fatal errors occurred: 
  [ERROR FileAvailable--etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
  [ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already exists
</code></pre>

<p>It is happening because you've already executed <strong>join</strong> command on your node once. That's why the files are still there.</p>

<p>If your node hasn't been deleted from the cluster(just drained only), you don't have to run <strong>kubeadm join</strong>. You can rejoin the node by running the command-</p>

<pre><code>kubectl uncordon NODENAME
</code></pre>

<p>Else, to get rid of this error, try running the following command on your node to purge these files-</p>

<pre><code>kubeadm reset
</code></pre>

<p>If the reset command fails, try forcing the reset process by running-</p>

<pre><code>kubeadm reset --force
</code></pre>

<p>Now try to execute the <strong>join</strong> command again.</p>
