-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Chart: Update Webserver update strategy based on Airflow Version #15627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
804e254 to
70f3d19
Compare
|
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease. |
This commit adds the following things: - Add "airflowVersion" flag that will allow use to add some components that are just available or work with certain Airflow version. Example: pod_template_file is available for Airflow >= 1.10.12 - Update logic for selecting pre/post Airflow 2.0 CLI commands based on that flag - Updates stragtegy of Airflow Webserver based on that flag as the webserver in Airflow >= 2 does not need access to DAG files, hence we don't need to recreate but can have a "true" rollingUpdate - Allow overriding webserver udpate strategy
5898987 to
a8610a5
Compare
|
The Workflow run is cancelling this PR. Building images for the PR has failed. Follow the workflow link to check the reason. |
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache#15627 - we now have `airflowVerson` so we can just do a comparison of the version.
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with #15627 - we now have `airflowVerson` so we can just do a comparison of the version.
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
For `apache-airflow>=2.0.0`, DAG Serialization is enabled by default and we don't need to have a sidecar on Websserver. Previously this was done using `gitSync.excludeWebserver`. However with apache/airflow#15627 - we now have `airflowVerson` so we can just do a comparison of the version. GitOrigin-RevId: caddbf3aa04096033502d7da7eafaf830737a9b9
This commit adds the following things:
that are just available or work with certain Airflow version.
Example: pod_template_file is available for Airflow >= 1.10.12
on that flag
webserver in Airflow >= 2 does not need access to DAG files, hence
we don't need to recreate but can have a "true" rollingUpdate
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.