seifrajhi commented on issue #44652:
URL: https://github.com/apache/airflow/issues/44652#issuecomment-2519804505

   The liveness probe als kept failing:
   ```
   Warning  Unhealthy  3m21s (x23 over 32m)  kubelet            Liveness probe 
failed: 
/home/airflow/.local/lib/python3.12/site-packages/airflow/metrics/otel_logger.py:430
 
   No alive jobs found.
   ```
   
   Also lots of restarts:
   ```
   airflow-dag-processor-6c79bc4f-548zv                             2/2     
Running     6 (2m18s ago)   33m
   ```
   
   My config of livenessprobe:
   ```
   livenessProbe:
       exec:
          command:
           - sh
           - -c
           - |
              CONNECTION_CHECK_MAX_COUNT=0 
AIRFLOW__LOGGING__LOGGING_LEVEL=ERROR exec /entrypoint \
             airflow jobs check --local --job-type DagProcessorJob
          failureThreshold: 10
          initialDelaySeconds: 10
          periodSeconds: 60
          successThreshold: 1
          timeoutSeconds: 20
   ```


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to