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 915f3ffac02076c90cde4b8132757ef018e70036 Author: Kamil Breguła <[email protected]> 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 <[email protected]> (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:
