Configure a custom Thundernetes port range
By default, Thundernetes will allocate ports in the range 10000-12000 to your GameServers. These ports are allocated to the entire set of VMs in the cluster and are open for each and every VM. If you need more or just a different port range, you can configure it via changing the MIN_PORT
and the MAX_PORT
environment variables in the controller deployment YAML file.
Additionally, since by default Thundernetes requires each Node in the cluster to have a Public IP, you would need to allow external traffic on this port range on your cluster. For instructions on how to do this, check your cloud provider’s documentation. For Azure, you would need to open the port range in the Azure Network Security Group of your cluster.
IMPORTANT: Do not modify the port range when there game servers running on the cluster, since this will probably corrupt the port registry.