<p>I have made a HA Kubernetes cluster. FIrst I added a node and joined the other node as master role. 
I basically did the multi etcd set up. This worked fine for me. I did the fail over testing which also worked fine. Now the problem is once I am done working, I drained and deleted the other node and then I shut down the other machine( a VM on GCP). But then my kubectl commands dont work... Let me share the steps:</p>

<p>kubectl get node(when multi node is set up)</p>

<pre><code>NAME         STATUS   ROLES    AGE   VERSION
instance-1   Ready    &lt;none&gt;   17d   v1.15.1
instance-3   Ready    &lt;none&gt;   25m   v1.15.1
masternode   Ready    master   18d   v1.16.0
</code></pre>

<p>kubectl get node ( when I shut down my other node)</p>

<pre><code>root@masternode:~# kubectl get nodes
The connection to the server k8smaster:6443 was refused - did you specify the right host or port?
</code></pre>

<p>Any clue?</p>

user3403309
<p>After reboot the server you need to do some step below:</p>
<ol>
<li><p>sudo -i</p>
</li>
<li><p>swapoff -a</p>
</li>
<li><p>exit</p>
</li>
<li><p>strace -eopenat kubectl version</p>
</li>
</ol>
