Skip to content
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

Deleting Unhealthy game servers #272

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Deleting Unhealthy game servers #272

merged 1 commit into from
Jun 16, 2022

Conversation

dgkanatsios
Copy link
Collaborator

@dgkanatsios dgkanatsios commented Jun 14, 2022

Fixes #56

This PR modifies the GameServerBuild controller to delete a GameServer when its status becomes Unhealthy.

As a side effect, we expect it to fix #256 and #257 since Unhealthy GameServers won't exist in the cluster any more so:

i) they won't be taken into account when scaling
ii) NodeAgent will get a notification about their deletion so it will not repeatedly try to mark them as Unhealthy

The change in the YAML files is probably due to the new C-R version that was merged in a different PR.

@dgkanatsios dgkanatsios linked an issue Jun 14, 2022 that may be closed by this pull request
@dgkanatsios dgkanatsios force-pushed the deleteunhealthy branch 2 times, most recently from bd5984d to 54cfd3b Compare June 14, 2022 16:34
@dgkanatsios dgkanatsios force-pushed the deleteunhealthy branch 2 times, most recently from d1772a0 to c3a451f Compare June 16, 2022 20:20
@dgkanatsios dgkanatsios merged commit df23f17 into main Jun 16, 2022
@dgkanatsios dgkanatsios deleted the deleteunhealthy branch June 16, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Take into account Unhealthy GameServers when scaling Action when the GameServer is Unhealthy
2 participants