Game Server health checking #15
Labels
area/user-experience
Pertaining to developers trying to use Agones, e.g. SDK, installation, etc
kind/design
Proposal discussing new features / fixes and how they should be implemented
kind/feature
New features for Agones
Milestone
Design
Health Configuration
SDK API
SDK.Health()
The
Health()
function on the SDK object ill need to be called regularly below thetimeout
threshold time to be considered healthy.Failure
Ready
then, it should restart as per therestartPolicy
(which defaults to "Always")Ready
state, then it doesn't restart, but moves the GameServer to anUnhealthy
state - and then it's up to the managing code to determine what to do at that point.Outside scope
Implementation
gRPC
Health is a unidirectional stream from the gameserver client -> the sidecar. The sidecar will update the State to
UnHealthy
if it doesn't receive a healthcheck event within the allotted time.Kubernetes
(Theory - need investigation)
gshealthz
url endpoint. It will trackHealth()
messages and if they drop below the set threshhold, return a500
.Ready
, then this will always return200
- which (in theory) should mean that Kubernetes will never restart the GameServer container.The text was updated successfully, but these errors were encountered: