bhavaniravi opened a new issue #9625:
URL: https://github.com/apache/airflow/issues/9625


   **Description**
   
   Airflow when using KubernetesExecutor and `git-mode` need to have a 
`GIT_SYNC_MAX_SYNC_FAILURES` option. 
   
   **Use case / motivation**
   
   When running a task with `git-mode` and KubernetesExecutor with self-hosted 
bitbucket or GitLab,  the pod fails because it couldn't connect to the Code 
hosting service thereby marking the task failed. 
   
   While we can set `GIT_SYNC_MAX_SYNC_FAILURES` as suggested by [Kubernetes 
git-sync repo](https://github.com/kubernetes/git-sync), there is no option to 
set this in airflow workers via config.
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to