apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.65k stars 13.89k forks source link

Improve development experience for `breeze k8s` suite of commands #40005

Open potiuk opened 1 month ago

potiuk commented 1 month ago

Body

We have the breeze k8s suite of commands that allows to create cluster and run Airflow in k8s cluster easily (for Local/Celery/K8s executor). It nicely works and we use it for CI/k8s tests, but iteration speed with it is slow. It's fast to iterate on tests (they are run from a local virtualenv) but when you need to change airflow code, it is very slow. You need to:

a) make changes to Airflow code b) build "k8s" image (it's fast but you need to build it) c) re-deploy the image to the kind cluster

It takes minutes to update the code in a running cluster.

We should find a way to incorporate tools like Telepresence https://www.getambassador.io/docs/telepresence/latest/quick-start for example to improve the iteration speed.

Committer

shahar1 commented 1 month ago

Assigning myself, it seems like an area that I'd like to experience :)

potiuk commented 1 month ago

Cool :)