Tomas Volf <[email protected]> skribis:

> Probably healthcheck[0]?  And Kubernetes have a similar concept called
> probes[1].
>
> These basically allow to define a custom action(s) to check whether
> service is healthy (in addition to the default "is PID still alive").
> If it is deemed not healthy, usually the action is to automatically
> restart it.
>
> 0: https://docs.docker.com/reference/compose-file/services/#healthcheck
> 1: 
> https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/

Interesting.  There could even be a module in the Shepherd proper to
make it easy to create those health checks.

Thanks!

Ludo’.

Reply via email to