denoland / denokv

A self-hosted backend for Deno KV
https://deno.com/kv
MIT License
456 stars 21 forks source link

Expose Liveness and Readiness endpoints #52

Open cmbntr opened 9 months ago

cmbntr commented 9 months ago

Please expose unauthenticated HTTP endpoints for checking liveness and readiness of the server.

for example, the simplest implementation could just both return a HTTP 204 response:

GET /livez  --> HTTP 204
GET /readyz --> HTTP 204

this can be used for Kubernetes pod probes or other downstream systems (or monitoring)