stelsemeyer-m60 opened a new pull request, #31008:
URL: https://github.com/apache/airflow/pull/31008

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   Parametrize the interval in which the Kubernetes pod status is polled when 
launching a new pod. 
   
   When using serverless Kubernetes services like Google GKE Autopilot the pod 
startup time is sometimes expected to be longer due to a cold start. Therefore 
the logs might be spammed due to the default checks every second (see below), 
and a lower check frequency might be desired
   
   ```
   [2023-05-02, 05:33:22 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:23 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:24 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:25 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:26 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:27 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:28 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:29 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:30 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:31 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:32 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:33 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:34 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:35 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:36 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   [2023-05-02, 05:33:37 UTC] {pod_manager.py:187} WARNING - Pod not yet 
started: some-pod-he2j8139
   ...
   ```
   


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