Shared Pod IPs with GameServer Addresses
markmandel opened this issue · comments
Is your feature request related to a problem? Please describe.
Sometimes, it's very useful to send traffic direct to the Pod address rather than through the node, for example if you are doing ipv6 without nat, so that traffic can go straight to the Pod within a network.
Describe the solution you'd like
Append the Pod IPs[] array to the GameServer.Status.Addresses[]
, under a key of PodIP
(or similar).
Describe alternatives you've considered
Hacking Kube-cluster setup to get IPv6 in the right order.
Additional context
Should probably be implemented here:
agones/pkg/gameservers/gameservers.go
Line 88 in 45ea667
We should also add some docs somewhere around:
https://agones.dev/site/docs/reference/gameserver/#primary-address-vs-addresses