Consider the following scenario:
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
(This node is on a completely different network, but still connected to the internet)
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
Is it possible for the worker node to join the master? If so what plugins do I need?
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.
kubeadm init --apiserver-cert-extra-sans=PUBLIC_IP_MASTER_NODE