You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/03/03 09:34:46 UTC

[airflow] 09/38: Add more tips about health checks (#14537)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit aac8befdbda5a04463f0bf2b0742df3244a3e251
Author: Kamil Breguła <mi...@users.noreply.github.com>
AuthorDate: Mon Mar 1 23:04:06 2021 +0100

    Add more tips about health checks (#14537)
    
    * Add more tips about health checks
    
    * fixup! Add more tips about health checks
    
    * Apply suggestions from code review
    
    Co-authored-by: Kamil Breguła <ka...@apache.org>
    (cherry picked from commit b6a4804702711d473c5c55b7aeca2774cd342e22)
---
 docs/apache-airflow/production-deployment.rst | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/docs/apache-airflow/production-deployment.rst b/docs/apache-airflow/production-deployment.rst
index 34b12cb..439afe1 100644
--- a/docs/apache-airflow/production-deployment.rst
+++ b/docs/apache-airflow/production-deployment.rst
@@ -111,11 +111,7 @@ Airflow users occasionally report instances of the scheduler hanging without a t
 * `Scheduler gets stuck without a trace <https://github.com/apache/airflow/issues/7935>`_
 * `Scheduler stopping frequently <https://github.com/apache/airflow/issues/13243>`_
 
-Strategies for mitigation:
-
-* When running on kubernetes, use a ``livenessProbe`` on the scheduler deployment to fail if the scheduler
-  has not heartbeat in a while.
-  `Example: <https://github.com/apache/airflow/blob/190066cf201e5b0442bbbd6df74efecae523ee76/chart/templates/scheduler/scheduler-deployment.yaml#L118-L136>`_.
+To mitigate these issues, make sure you have a :doc:`health check </logging-monitoring/check-health>` set up that will detect when your scheduler has not heartbeat in a while.
 
 .. _docker_image: