-
Notifications
You must be signed in to change notification settings - Fork 826
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 liveness check to pkg/gameservers/controller
.
#116
Comments
@enocom mind if I edit this ticket to include the full details? Just in case anyone else happens to want to pick this up? (Unless you want to expand this out, since I know you had ideas) |
@markmandel Please do. I think this issue might be good for first-time contributors, too. |
Some interesting notes here:
Final thought - for a readiness check, readiness can be turned on as soon as the WebHook that powers the MutationWebhookConfiguration is ready |
@enocom did you have some thoughts on how you were thinking of tracking if the goroutines were still active? (or maybe a PR 😁 ) |
I imagine adding a Thoughts? |
Works for me. Although the Thought - would this be part of a |
There's some question of where this responsibility belongs. Insofar as implementation, |
The liveness check is based on the worker queue having all its worker goroutines running. If one of those goroutines exits, the liveness check reports an unhealthy status. Fixes googleforgames#116
Original Context.
The text was updated successfully, but these errors were encountered: