optics-monorepo icon indicating copy to clipboard operation
optics-monorepo copied to clipboard

Implement Agent Health Endpoints

Open yourbuddyconner opened this issue 3 years ago • 1 comments

yourbuddyconner avatar Aug 10 '21 19:08 yourbuddyconner

  • Implement a /livez endpoint that returns 200 OK once the agent has booted, regardless of sync state assuming everything is healthy
  • Implement a /readyz endpoint that returns 200 OK when the agent has reached a state where it is engaged in normal agent operations.

Details on how this is implemented by the Kubernetes API: https://kubernetes.io/docs/reference/using-api/health-checks/ Details on how this will be used by the helm chart: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/

yourbuddyconner avatar Aug 10 '21 19:08 yourbuddyconner