By Jason
I saw this talk and tried to set up Agones myself on Digital Ocean kubernetes. https://www.digitalocean.com/community/tech_talks/modern-game-server-infrastructure-in-the-cloud except it doesn’t currently work.
I followed the tutorial, here, https://agones.dev/site/docs/getting-started/create-gameserver and everything seems to start up and work properly except for the fact that when it comes time to test the server, I cannot connect to my game server on the UDP port 7000-8000 and IP listed. I tried their TCP example too, but same result.
Is there some firewall in front of a DigitalOcean Kubernetes cluster?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I found the answer. Yes, when kubernetes provisioned my node droplets, they put a firewall in front of the game server of which I had to allow UDP and TCP ports 7000-8000 which is what agones uses by default. Answered!
Hello @rolltable,
On Kubernetes with version 1.19 and later DigitalOcean provision two fully-managed firewalls for each new Kubernetes cluster. One firewall manages the connection between worker nodes and master nodes, and the other manages connections between worker nodes and the public internet.
However, you cannot delete the cluster’s default firewalls or manually change their configuration in the control panel. Any changes made to the default firewalls through the control panel will not persist and be reverted. If you need to open ports outside of the NodePort range, such as port 80 or 7000-8000, manually create a new DigitalOcean Cloud Firewall and associate it with the cluster.
For more details, you can refer here.
Best Regards, Purnima Kumari Developer Support Engineer II - DigitalOcean
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.