potiuk commented on issue #18108:
URL: https://github.com/apache/airflow/issues/18108#issuecomment-915957814


   This is a problem with your deployment/custom chart.
   
   You likely do not perform initial DAG sync when you restart the scheduler. 
   
   Before scheduler starts you need to make sure (for example with an 
initcontainer) that the DAGs are synchronized  fully at least once. Otherwise 
scheduler starts with empty folder and thinks that the DAGs were deleted.
   
   This is what is done using our Official Helm Chart (and I would recommend 
you switch to that method to avoid similar problems).
   
   https://airflow.apache.org/docs/helm-chart/stable/index.html


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to