Node on a Private network

Hello Ranchers, is it possible to run a Node on a private network, that has access to the Internet, while the rancher server is on a public network (accessible by browser)?

Yes, the agent on the nodes opens the connection to the server* and the server does not have to be able to reach the nodes directly. All the nodes in a cluster do need to be able to reach each other and should be on the same network though.

*: (except for the pubic hosted kubernetes providers, GKE/EKS/AKS, where we open the connection to the provider)

1 Like

I don’t know why I can’t get my node up. My rancher shows this message.
My rancher is in an internet server, while my node is in a private network.

Failed to communicate with API server: Get https://172.13.13.201:6443/api/v1/componentstatuses?timeout=30s: dial tcp 127.0.0.1:6443: connect: connection refused