You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear @0x2142, since you started implementing the REST API from #125, it seems that here we can move on to a more common way of implementing healthcheck endpoints - the well-known z-pages approach:
Thus, regardless of having the /status informational endpoint, for the m2m communications the app requires endpoints for Liveness and Readiness probes:
From the response perspective, liveness endpoint can just return {"status":"ok"} with HTTP 200 OK, while the readiness endpoint returns an entire message like {"status":"probename is not yet ready"}.
The
frigate-notify
docker image is Scratch-based, which means any additional utils are missing (even shell and ps tools).In this situation, to add the ability to perform healthcheck there is an approach like the traefik did. Compose notation:
Thus, probably, the following could also be enough:
The list of possible unhealthy criteria:
monitor
feature)The text was updated successfully, but these errors were encountered: