Alien2150 opened a new issue #11161:
URL: https://github.com/apache/airflow/issues/11161


   **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**


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to