<p>I need to migrate my kubernetes master to another server.
How can we do that with all datas of the current running services, pod, rc ...
What do we need to backup , because kubernetes doc don't talk about this.
Thank you.</p>

<p>The two things that contain the master's identity are its IP address and a few different pieces of data from its local disk.</p>

<p>To make upgrades work on Google Compute Engine, <a href="https://github.com/kubernetes/kubernetes/blob/e264db43499cb14a319f6a78185b018b0958d314/cluster/gce/configure-vm.sh#L239" rel="nofollow">we mount the four important directories listed below to a persistent disk</a> and reserve the IP address of the VM, then detach the disk and IP and put them on a new VM. The directories saved are:</p>

<pre><code>/var/etcd
/srv/kubernetes
/srv/sshproxy
/srv/salt-overlay
</code></pre>
