stoiandl commented on issue #14261:
URL: https://github.com/apache/airflow/issues/14261#issuecomment-784619202


   I managed to fix my restart by setting up the following configs:
   ```
   [kubernetes]
   ...
   kube_client_request_args = { "_request_timeout": 60 }
   delete_option_kwargs = {"grace_period_seconds": 10}
   enable_tcp_keepalive = True
   tcp_keep_idle = 30
   tcp_keep_intvl = 30
   tcp_keep_cnt = 30
   ```
   
   I have another Airflow instance running in AWS - Kubernetes. That one runs 
fine with any version,
   
   I realized the problem is with Azure Kubernetes, the rest api calls to the 
api server. Now, I can see in the scheduler logs, some kubernetes connection 
errors but those are not killers since airflow tries to reconnect and it is 
successful the second time. 


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