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
TCPUDP not supported #2314
Comments
🤔 I wonder if we don't catch the condition in a Can you try a dynamic port config? |
Everything works fine with dynamic port |
#1764 only updated the code path where we assign a port to the game server. |
This looks to be the magic line of concern: agones/pkg/gameservers/portallocator.go Lines 155 to 157 in 06ae7a8
Reference for GameServer - see |
On review with @SaitejaTamma , really we should move the custom logic from portallocator.go to agones/pkg/apis/agones/v1/gameserver.go Lines 594 to 599 in 9fa432c
Since |
@ashutosji we tried this a long time ago - but if you're looking for a challenge, this could be for you. This will require you to create a test cluster, build Agones, and have tests for it (go through https://github.com/googleforgames/agones/blob/main/build/README.md). Have a look and let me know if you would be willing to give this a shot. |
Sure @markmandel! I will look into this. |
isn't this piece of code is confusing? If the condition is valid then it should work for |
The tricky part is: agones/pkg/gameservers/controller.go Line 460 in 06ae7a8
Doesn't get called, because for Static port, there is no allocation. |
'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 ' |
Currently being work on in #3375 |
What happened:
Pod "gameserver" is invalid: spec.containers[0].ports[0].protocol: Unsupported value: "TCPUDP": supported values: "SCTP", "TCP", "UDP"
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): v1.22.1The text was updated successfully, but these errors were encountered: