mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feature: healthcheck endpoint #441
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jfroy on GitHub.
Feature description
It would be nice to have a healthcheck endpoint to use with k8s probes. There are many Gin middelwares/packages for that.
Pitch
Kubernetes and other service control planes can monitor services for liveness and readiness, restart the service when detecting a failure, and direct traffic to ready instances (e.g. do rolling updates w/o disruption).
@stonith404 commented on GitHub:
Added in
v0.16.0. The endpoint is available at the/healthroute. If you use Docker Compose, please update yourdocker-compose.ymlwith the newest one.