I am currently hosting a game service with Google Game Servers (https://cloud.google.com/game-servers). This is basically running Agones in GKE. This works great for the most part except when it comes to iPv6.
I am struggling to find any suggestions on how to get this kind of a setup to be iPv6 compatible. It seems like this should be the answer https://cloud.google.com/load-balancing/docs/ipv6 but Agones is setup to run servers across a port range as it spins up and shuts down servers and it seems I need to have a specific port and non-persistent connections to a specific machine to use googles Load balancer solution.
For reference, this is a NodeJS backend relying on socket.io communication.
Any suggestions would be appreciated.
As already stated in comments Google Cloud VPCs do not support IPv6 connectivity:
If your stack requires IPv6 connectivity, unfortunatelly you won't be able to deploy it on Google Kubernetes Engine at the time being as it is subject to the same rules as any other Compute resource on GCP and uses the same VPC network.
As you can read in the official VPC specifications:
As to Global Loadbalancer (that do support IPv6) here is all the information you need:
Protocols and port ranges it supported by each of them are listed in their individual specifications (all links available above).
SSL Proxy Load Balancing:
TCP Proxy Load Balancing:
with one caveat:
When it comes to External HTTP(S) Load Balancing its name speaks for itself.
So if you rather need to use some arbitrary port ranges as you mentioned, the answer is: no, unfortunatelly you can't do that using Google Cloud Load Balancing solutions