ousatov-ua commented on issue #8564: URL: https://github.com/apache/airflow/issues/8564#issuecomment-636815318
My config is next: `AIRFLOW__KUBERNETES__GIT_REPO: "https://github.com/repo/airflow-dags.git" AIRFLOW__KUBERNETES__GIT_BRANCH: "master" AIRFLOW__KUBERNETES__GIT_SYNC_DEPTH: 1 AIRFLOW__KUBERNETES__GIT_DAGS_FOLDER_MOUNT_POINT: "/opt/airflow/dags" AIRFLOW__KUBERNETES__GIT_SYNC_CONTAINER_REPOSITORY: "k8s.gcr.io/git-sync" AIRFLOW__KUBERNETES__GIT_SYNC_CONTAINER_TAG: "v3.1.2" AIRFLOW__KUBERNETES__GIT_SYNC_INIT_CONTAINER_NAME: "git-sync-clone" #AIRFLOW__KUBERNETES__GIT_SYNC_ONE_TIME: "True" #AIRFLOW__KUBERNETES__DAGS_VOLUME_SUBPATH AIRFLOW__KUBERNETES__DAGS_VOLUME_MOUNT_POINT: "/opt/airflow/dags" AIRFLOW__KUBERNETES__GIT_SYNC_RUN_AS_USER: 0` When I run dag I have executed git-sync container on worker pod, after that worker tries to load dag by path /opt/airflow/dags and cannot find it by id.... Everything work ok when I use loaded examples: AIRFLOW__CORE__LOAD_EXAMPLES: "True" ---------------------------------------------------------------- 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]
