kaxil commented on issue #15362:
URL: https://github.com/apache/airflow/issues/15362#issuecomment-820802932


   Like I mentioned in https://github.com/apache/airflow/issues/15340 -- 
Migrations are run in a different container
   
   
https://github.com/apache/airflow/blob/54adc4463bfa2b8999ed495f3fadc8cf21900991/chart/templates/migrate-database-job.yaml#L21-L33
   
   ^^ It is run via Kubernetes `Job` and name of container is 
[`run-airflow-migrations`](https://github.com/apache/airflow/blob/54adc4463bfa2b8999ed495f3fadc8cf21900991/chart/templates/migrate-database-job.yaml#L62-L77).
   
   Whereas scheduler and Webserver pods have an init-container that just wait 
for the migrations to be applied:
   
   
https://github.com/apache/airflow/blob/master/chart/templates/scheduler/scheduler-deployment.yaml#L97-L107


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