potiuk commented on PR #60557: URL: https://github.com/apache/airflow/pull/60557#issuecomment-3752654200
As explained in https://github.com/apache/airflow/issues/60271 - I think that one needs a bit more sophisticated condition. It's fine to skipe it in case of K8S env var, but also I think we should skip the check if the command to run is different than "scheduler", "dag-processor", "triggerer", "api-server". Those are the only components of Airflow that need access to the DB - all the others are either interactive (and waiting for DB does not make much sense for them) or they should not have access to DB at all. -- 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]
