-
Notifications
You must be signed in to change notification settings - Fork 16.3k
fix(systemd): Update systemd unit files and documentation for Airflow 3.0 #52294
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added a note under "Using Airflow Public Interfaces" to recommend using `airflow.sdk` as the official interface from Airflow 3.0. - Referenced AIP-72 and linked related documentation. - Encouraged users to prefer REST API and Python Client for integrations.
Great Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
- Updated systemd unit files to support Airflow 3.0 architecture. - Replaced deprecated `webserver` with `api-server` in ExecStart. - Added service units for new components: `triggerer`, `dag-processor`, and `api-server`. - Adjusted ExecStart commands to support virtualenv-based deployments. - Improved documentation (`run-with-systemd.rst`) to clarify service changes, virtualenv usage, and installation paths. - Linked to the updated GitHub `scripts/systemd` directory for latest service files. Tested Airflow 3.0 manually on macOS using virtualenv, confirming correct startup behavior for `scheduler`, `api-server`, and `triggerer`.
potiuk
reviewed
Jun 26, 2025
Member
|
This is very cool, thanks - but there are some unrelated doc changes that should be reverted |
Contributor
Author
|
Hey @potiuk, Not sure why I closed it.I've made all the changes needed which I feel shld be there. Kindly lmk if I have to make any other changes. |
potiuk
approved these changes
Jul 21, 2025
Member
potiuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
github-actions bot
pushed a commit
that referenced
this pull request
Jul 21, 2025
… for Airflow 3.0 (#52294) * docs: update public interface doc to reflect airflow.sdk and AIP-72 - Added a note under "Using Airflow Public Interfaces" to recommend using `airflow.sdk` as the official interface from Airflow 3.0. - Referenced AIP-72 and linked related documentation. - Encouraged users to prefer REST API and Python Client for integrations. * Update airflow-core/docs/public-airflow-interface.rst Great Co-authored-by: Jarek Potiuk <jarek@potiuk.com> * fix(systemd): Update systemd service files and docs for Airflow 3.0 - Updated systemd unit files to support Airflow 3.0 architecture. - Replaced deprecated `webserver` with `api-server` in ExecStart. - Added service units for new components: `triggerer`, `dag-processor`, and `api-server`. - Adjusted ExecStart commands to support virtualenv-based deployments. - Improved documentation (`run-with-systemd.rst`) to clarify service changes, virtualenv usage, and installation paths. - Linked to the updated GitHub `scripts/systemd` directory for latest service files. Tested Airflow 3.0 manually on macOS using virtualenv, confirming correct startup behavior for `scheduler`, `api-server`, and `triggerer`. * fix(systemd): Update systemd service files and docs for Airflow 3.0 * Minor test failure fixes --------- (cherry picked from commit 097ae45) Co-authored-by: N R Navaneet <156576749+nrnavaneet@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Contributor
Author
|
Thank you :) |
github-actions bot
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
Jul 21, 2025
… for Airflow 3.0 (apache#52294) * docs: update public interface doc to reflect airflow.sdk and AIP-72 - Added a note under "Using Airflow Public Interfaces" to recommend using `airflow.sdk` as the official interface from Airflow 3.0. - Referenced AIP-72 and linked related documentation. - Encouraged users to prefer REST API and Python Client for integrations. * Update airflow-core/docs/public-airflow-interface.rst Great Co-authored-by: Jarek Potiuk <jarek@potiuk.com> * fix(systemd): Update systemd service files and docs for Airflow 3.0 - Updated systemd unit files to support Airflow 3.0 architecture. - Replaced deprecated `webserver` with `api-server` in ExecStart. - Added service units for new components: `triggerer`, `dag-processor`, and `api-server`. - Adjusted ExecStart commands to support virtualenv-based deployments. - Improved documentation (`run-with-systemd.rst`) to clarify service changes, virtualenv usage, and installation paths. - Linked to the updated GitHub `scripts/systemd` directory for latest service files. Tested Airflow 3.0 manually on macOS using virtualenv, confirming correct startup behavior for `scheduler`, `api-server`, and `triggerer`. * fix(systemd): Update systemd service files and docs for Airflow 3.0 * Minor test failure fixes --------- (cherry picked from commit 097ae45) Co-authored-by: N R Navaneet <156576749+nrnavaneet@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk
added a commit
that referenced
this pull request
Jul 21, 2025
… for Airflow 3.0 (#52294) (#53609) * docs: update public interface doc to reflect airflow.sdk and AIP-72 - Added a note under "Using Airflow Public Interfaces" to recommend using `airflow.sdk` as the official interface from Airflow 3.0. - Referenced AIP-72 and linked related documentation. - Encouraged users to prefer REST API and Python Client for integrations. * Update airflow-core/docs/public-airflow-interface.rst Great * fix(systemd): Update systemd service files and docs for Airflow 3.0 - Updated systemd unit files to support Airflow 3.0 architecture. - Replaced deprecated `webserver` with `api-server` in ExecStart. - Added service units for new components: `triggerer`, `dag-processor`, and `api-server`. - Adjusted ExecStart commands to support virtualenv-based deployments. - Improved documentation (`run-with-systemd.rst`) to clarify service changes, virtualenv usage, and installation paths. - Linked to the updated GitHub `scripts/systemd` directory for latest service files. Tested Airflow 3.0 manually on macOS using virtualenv, confirming correct startup behavior for `scheduler`, `api-server`, and `triggerer`. * fix(systemd): Update systemd service files and docs for Airflow 3.0 * Minor test failure fixes --------- (cherry picked from commit 097ae45) Co-authored-by: N R Navaneet <156576749+nrnavaneet@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:dev-tools
backport-to-v3-1-test
Mark PR with this label to backport to v3-1-test branch
kind:documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the systemd integration to align with changes introduced in Apache Airflow 3.0.
Changes made:
webserverunit with the newapi-serverserviceairflow-triggererairflow-dag-processorairflow-apiExecStartcommands to support virtual environment usage (e.g., sourcing a venv before running Airflow components)run-with-systemd.rstto:scripts/systemdfolder directlyTesting
Manually tested Airflow 3.0 on macOS with a virtualenv:
.servicefilesscheduler,api-server, andtriggerercloses #51117