FerryDocs
ArchitectureDeploy pipeline

The health check

The engine tests each new instance each second until it passes or the timeout ends.

Edit on GitHub
each secondoutputEngineNew instancenot readyDeploy log

The engine tests each new instance one time each second. The output of the instance goes into the deploy log.

1 / 4

The three tests

A depends on the type of the service.

ServiceThe test passes when
With a health check pathGET http://127.0.0.1:<host port><path> answers with a status below 400. The Host header is the default host of the service.
With a port and no pathThe port accepts a TCP connection and does not close it immediately.
Background workerThe process still runs 5 seconds after its start.

The option --health-check-timeout sets the timeout (default 120 seconds). For the user view, see Health checks.

On this page