-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Milestone
Description
Body
- depends on: Add gunicorn support for API server with rolling worker restarts #60940
- detail context in: Add gunicorn support for API server with rolling worker restarts #60940 (comment)
When running the Airflow API server with the default uvicorn mode on Kubernetes, users may still want a strategy to periodically restart pods to avoid long‑lived process issues (e.g. memory growth, stale state), especially since uvicorn does not support rolling worker restarts like the new gunicorn mode.
We should:
- Extend
airflow-core/docs/administration-and-deployment/web-stack.rstto document:- Best practices for running the API server with
uvicornon Kubernetes. - Example approaches for periodically restarting API server pods (e.g. cluster‑level mechanisms, rolling restarts) and when this is recommended vs. relying on Kubernetes OOM/restarts.
- Cross‑link this section from any API server / web‑stack docs that discuss server types (
server_type = uvicorn|gunicorn).
- Best practices for running the API server with
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Reactions are currently unavailable