<p>I am using KOPS and I have a cluster with 3 masters. I deleted one master and the disks (root disk and etcd disks(main and events)). </p>

<p>Now kops recreated this master and the disks, but this new master node cannot join in the cluster. The error message on kube-apiserver is </p>

<pre><code>controller.go:135] Unable to perform initial IP allocation check: unable to refresh the service IP block: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 127.0.0.1:4001: getsockopt: connection refused
</code></pre>

<p>Any idea?</p>

<p>Looks like your <code>etcd</code> server is down on that host. It might have not been able to sync with the <code>etcd</code> servers on the other masters.</p>

<p>You can check like this:</p>

<pre><code>$ sudo docker ps | grep etcd
</code></pre>

<p>If you don't see anything then it's down. Then you can check the logs for the 'Exited' etcd container:</p>

<pre><code>$ sudo docker ps -a | grep Exited | grep etcd
$ sudo docker logs &lt;etcd-container-id&gt;
</code></pre>

<p>Also check that your kube-apiserver options for <code>etcd</code> look ok under <code>/etc/kuberbetes/manifests/kube-apiserver.yaml</code></p>
