<p>I have installed a Kubernetes cluster using kubeadm. It works fine. But accidentally I restarted my host machine where master was up. After the  restart the kubelet was not running . I had to do </p>

<blockquote>
  <p>Kubeadm reset</p>
</blockquote>

<p>And</p>

<blockquote>
  <p>Kubeadm init</p>
</blockquote>

<p>What should I do to bring my cluster up automatically after a host machine restart ?</p>

Bala
<p>There is no need to do <code>kubeadm reset</code> and <code>kubeadm init</code> in such cases.
To start <code>kubelet</code> service during the current session use: </p>

<pre><code>systemctl start kubelet 
</code></pre>

<p>To start service automatically during the boot, you must enable it using:</p>

<pre><code>systemctl enable kubelet
</code></pre>

<p>Keep in mind that if you are running above commands as a non-root user, you will have to use <code>sudo</code>.</p>
