fabiolb / fabio

Consul Load-Balancing made simple
https://fabiolb.net
MIT License
7.25k stars 619 forks source link

[Question] does the /health health check response change during shutdown wait #755

Open far-blue opened 4 years ago

far-blue commented 4 years ago

Hi all,

If there's a shutdown wait delay setup in Fabio's config, does the /health endpoint continue to report a 200 OK during a shutdown or does it start returning 503 responses like proxying requests?

I'd like to use Fabio with an external Load Balancer but don't want traffic to be directed to a Fabio instance that's in the process of shutting down / draining. I thought maybe I could use /health but only if it doesn't report a 200 OK during shutdown.