PlayFab / thundernetes

Thundernetes makes it easy to run your game servers on Kubernetes
https://playfab.github.io/thundernetes
Apache License 2.0
307 stars 46 forks source link

Parameterize # of GameServer Creation/Deletion #432

Closed nottagg closed 1 year ago

nottagg commented 1 year ago

Fixes #157

Felt like a pretty similar change to #419, so I figured I would take a look.

I did not make these env variables in the makefile. I could refactor the PR to do so if desired, but I figured it would be better to wait on a change fixing the dropped double quotes I faced in #419 . Unlike that one, these wouldn't require an int and string variable so it would be a little prettier. Combining these max add/delete into one variable may also be a refactor to consider. Thanks!

nottagg commented 1 year ago

@microsoft-github-policy-service agree company="Microsoft"

dgkanatsios commented 1 year ago

hey @nottagg, thanks for the PR! A couple of changes and we would be good to go!

nottagg commented 1 year ago

Hey @dgkanatsios,

This is ready for review. I've also updated the original description to better reflect the changes made. I think things should further be refactored to eventually separate the type files (port_registry, config) from the controller folder into their own folder. But I won't include that onto this PR

dgkanatsios commented 1 year ago

great job @nottagg, thank you!