Add liveness checks to your Daemons

Vercel Daemons now support configuring HTTP liveness checks.

Start with an HTTP endpoint in your daemon that reports its health. Keep it lightweight so it responds quickly, and have it return an error status when the daemon is no longer healthy:

The daemon configuration now accepts a livenessProbe value pointing at that endpoint:

Vercel periodically requests the endpoint and restarts the daemon's container when the check fails, catching a daemon that is still running but no longer healthy.

Read the Daemon documentation for more information about liveness checks, including default values and the optional tuning fields.

参与讨论