-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game servers are having some delays until getting external IPs from agones SDK #3960
Comments
What I expect we should do it populate address immediately with Node details (since we have that), but if we don't have the |
'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions ' |
I'd like to see this fixed - seems like an unnecessary delay. |
Will work on a fix Seems that we block the update at this level (https://github.com/googleforgames/agones/blob/main/pkg/gameservers/controller.go#L892) , we should probably update the gameserver even if it's not set but not setting the state as This might also be related to an other issue, this is about the external IPs but it might be the same issue for the ports* |
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
The text was updated successfully, but these errors were encountered: