-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add support for --address-type
option to Agones agent
#933
Comments
Is In theory there could be multiple |
I guess I was thinking string, so I think we should probably add a second one for preferring multiple ones with different ip versions |
So initial dumb questions:
|
No such thing 🙂 Yes, when this option is specified, it looks through status.addresses, when no option is specified it uses status.address. Status.addresses is an array of nodeaddresses, you can see the schema here, address-type would map to the https://v1-26.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#nodeaddress-v1-core Yes, the best way to do this is to change the endpoint function. |
To allow for more versatile address selection in the quilkin agent, we should add support for to allow for the users to specify which of the addresses quicken should use as the address for the gameserver.
Steps
GameServer
CRD to add support forstatus.addresses
--address-type
option to agones provider for agent, the option should accept a string as we can't assume that the types in address will be consistent.--address-type
, this should be a case insensitive comparison. When there is multiple instances, we should choose the first one.The text was updated successfully, but these errors were encountered: