<p>I setup my cluster with one master and two nodes. I can create pods on nodes. If my master node fails (reboot) when I use kubeadm reset and then kubeadm init I lost all my pods, deployments, services.</p>

<p>Am I losting my pods because reset? What should I do?</p>

<p>Some similar questions:</p>

<p><a href="https://stackpointcloud.com/community/question/how-do-i-restart-my-kubernetes-cluster" rel="nofollow noreferrer">https://stackpointcloud.com/community/question/how-do-i-restart-my-kubernetes-cluster</a></p>

<p><a href="https://stackoverflow.com/questions/48362855/is-there-a-best-practice-to-reboot-a-cluster">Is there a best practice to reboot a cluster</a></p>

<p><code>kubeadm reset</code> on the master deletes all configuration (files and a database too). There is no way back.</p>

<p>You should not run <code>kubeadm init</code> when you reboot the master. <code>kubeadm init</code> is a one off action to bootstrap the cluster. When the master is rebooted your OS's init system (systemd, upstart, ...) should start <code>kubelet</code> which in turn starts the master components (as containers). An exception is if your cluster is <a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/#cmd-phase-self-hosting" rel="nofollow noreferrer">self-hosting</a></p>
