bmfisher commented on issue #12728:
URL: https://github.com/apache/airflow/issues/12728#issuecomment-777774826


   @m0bi5 I have narrowed the race condition to within the `if get_logs:` code 
path in `monitor_pod`.  
https://github.com/apache/airflow/blob/master/airflow/kubernetes/pod_launcher.py#L128
   I was able to set `get_logs=False` in my `KubernetesPodOperator` and run 
without experiencing these issues.  Luckily, I have a remote logging setup with 
Filebeat and Elasticsearch so I can get by without the `get_logs` flag. 
   
   @dimberman I'm still not 100% sure what is causing the issue, but I can try 
to get a development environment setup and test some possible fixes.  I'll 
start with the quick start linked above and let you know if I have any 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