You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/21 14:48:05 UTC

[GitHub] [airflow] TomatoEgg commented on issue #13680: "dag_id could not be found" when running airflow on KubernetesExecutor

TomatoEgg commented on issue #13680:
URL: https://github.com/apache/airflow/issues/13680#issuecomment-764694085


   In your init container, you have
   volumeMounts:
           - mountPath: /git
             name: dags
   
   In your main container:
   - mountPath: /opt/airflow/dags
             name: dags
   
   In airflow.cfg
   dags_folder = /opt/airflow/dags/repo/
   
   So you airflow scheduler is expecting the dags to be placed under /opt/airflow/dags/repo/, however is that how you populate it in your init container? E.g do you have the "repo" directory ?


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