Skip to content

Conversation

@rolodato
Copy link
Contributor

Add a liveness health check that always succeeds, to be used by Kubernetes.

When a health check fails with 500, we don't know if the application is fully failing, or alive but not able to serve requests. Returning 503 lets us see staleness failures separate from anything else.

@rolodato rolodato requested a review from matthewelwell March 17, 2025 14:27
@matthewelwell matthewelwell removed their request for review March 27, 2025 17:46
@rolodato rolodato requested a review from matthewelwell April 2, 2025 21:44
@rolodato rolodato changed the title feat: Add liveness and readiness check endpoints, return 503 when not ready feat: Add liveness and readiness check endpoints. Return 503 instead of 500 when checks fail Apr 3, 2025
@rolodato rolodato merged commit b630c26 into main Apr 3, 2025
2 checks passed
@rolodato rolodato deleted the feat/liveness-readiness branch April 3, 2025 16:02
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.

3 participants