Skip to main content
Schedy provides two health endpoints for Kubernetes and container orchestration platforms. Both endpoints require no authentication.

Liveness probe

Returns 200 OK if the process is running, with the running build’s version in the body. Used by Kubernetes livenessProbe to detect if the container should be restarted, and by operators to answer “what’s deployed here?”.
Dev builds report "dev"; go install builds report their module version. This endpoint always responds successfully as long as the process is running. No dependencies are checked.

Readiness probe

Returns 200 OK if Schedy is ready to accept new tasks. Returns 503 Service Unavailable if the database is unreachable. Used by Kubernetes readinessProbe to determine if the pod should receive traffic.

Kubernetes example

Configure both probes in your pod spec:
The readiness probe checks if the database (BadgerDB) is accessible. If it fails, the pod is removed from the service load balancer until the database recovers.