-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Closed
Labels
Description
Description
Improve health checks for Airflow
Use case / motivation
According to https://airflow.apache.org/docs/stable/howto/check-health.html the health endpoint includes db and scheduler health-information. But the Http code is not usable as a health-basis which is not useful for orchestrating software like Kubernetes.
It think it would be better to add 2 more additional routes:
- /health/scheduler
- /health/metadatabase
On top it would be great to utilize Http code as health metric (e.g 200 for healthy and 4xx as unhealthy). In that case it would be possible to let Kubernetes health probes check the http status code in order to restart scheduler for example.
Related Issues