What happened:
Hi, recently I tried to update agones version from 1.38.0 to 1.42.0
But I found one issue,
Normally my game server gets external ip address from the gameServer, err := sdk.GameServer() object.
In 1.38.0 version, this gameServer object had this IP address in gameServer.Status.Address array right after I got the gameServer object.
But In 1.42.0 version, gameServer.Status.Address doesn't have any addresses and has empty array at the moment server is up, so I should poll this information by calling sdk.GameServer() with some interval. after a few mintues, it finally got the address array.
What you expected to happen:
IP address should be exists in gameServer.Status.Address array right after the sdk initialized
How to reproduce it (as minimally and precisely as possible):
setup agones 1.41.0 or 1.42.0
try to get gameServer.Status.Address right after the game server pod is up
Anything else we need to know?:
Environment:
Agones version: 1.42.0
Kubernetes version (use kubectl version): 1.28
Cloud provider or hardware configuration: AWS EKS
Install method (yaml/helm): helm
Troubleshooting guide log(s):
Others:
Here are the Game server pod and agones game server yamls
Before I got IP address
What I expect we should do it populate address immediately with Node details (since we have that), but if we don't have the PodIP yet, move forwards, and only populate it when we do.
What happened: Hi, recently I tried to update agones version from 1.38.0 to 1.42.0 But I found one issue, Normally my game server gets external ip address from the gameServer, err := sdk.GameServer() object. In 1.38.0 version, this gameServer object had this IP address in gameServer.Status.Address array right after I got the gameServer object. But In 1.42.0 version, gameServer.Status.Address doesn't have any addresses and has empty array at the moment server is up, so I should poll this information by calling
sdk.GameServer()
with some interval. after a few mintues, it finally got the address array.What you expected to happen: IP address should be exists in gameServer.Status.Address array right after the sdk initialized
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): 1.28Here are the Game server pod and agones game server yamls Before I got IP address
After I got IP address