Make --executor flag work for breeze start-airflow command#30644
Make --executor flag work for breeze start-airflow command#30644potiuk merged 26 commits intoapache:mainfrom
Conversation
|
Would it be a good idea to make it an option on |
|
@potiuk, CeleryExecutor, LocalExecutor, CeleryKubernetesExecutor, and KubernetesExecutor support many configuration options in airflow config, should we expose all of them to the user? or can we expose some of them? Also, what would be a desirable format for exposing config options?
|
|
@uranusjr Do you think it should be part of this PR or can we create a separate ticket? either way, I'll be happy to pick up the task :) |
|
I’m not sure how involved it would be; if it’s just a handful of lines let’s include it in this PR, otherwise we can split. |
@uranusjr Sure, I'll check what needs to be done to extend this flag to |
|
I think all of the executors could be gradually added but we should start small. BTW.. This is just a beginning and draft of the change. This PR needs far more to be even close to completion. Currently Breeze does NOT support directly running anythong else than airflow with Local (mysql/postgres/mssql) or Sequential (sqlite) executor. In order to that more things nee to happen:
I think we should start with these two and once we have them working, we could add the "combos" (CeleryKubernetes will require to have both Celery and K8S started) The idea here is that by running ` |
Yep. We should |
@potiuk Sure, I'll get started with Celery Executor and Kubernetes Executors for now :) |
|
@potiuk Is it okay to have Celery and a Local executor for now? and I'll raise a separate PR for Kubernetes? If it's okay, this PR is ready to review. |
|
Yep. It's perfectly fine. K8S executor is much more complex to work on. I will take a look in the next few days (I am less available over the next few days). |
|
That's funny, literally just went looking for this feature today to try |
Introduced
--executorflag for commandbreeze start-airflowwhich acceptsCeleryExecutor, andLocalExecutor.related: #28412