<p>Consider the following scenario:</p>

<p>I have a master node with public ip: 13.82.237.240
The master is on a private network with ip 10.0.0.4</p>

<p>(This node is on a completely different network, but still connected to the internet)</p>

<p>I have a worker node with public ip 13.94.152.128
The worker node is on a private network with ip 10.0.1.4</p>

<p>Is it possible for the worker node to join the master?
If so what plugins do I need?</p>

user2997204
<p>With kubeadm It's possible to join worker node to a cluster by using the public IP of master node. When you do kubeadm init on the master node you need to give the public IP of master node as parameter so that correct certs are generated by kubeadm because by default kubeadm will generate cert for private IP.</p>

<pre><code>kubeadm init --apiserver-cert-extra-sans=PUBLIC_IP_MASTER_NODE
</code></pre>
