Skip to content

Conversation

@SamWheating
Copy link
Contributor

@SamWheating SamWheating commented Jul 31, 2025

We have been using multiple kubernetes schedulers in order to improve the autoscaling performance of our clusters. This includes using separate schedulers for evictable pods (such as the airflow scheduler or webserver) and non-evictable pods (such as spark drivers or Airflow kubernetesExecutor pods).

Currently the Airflow helm chart allows us to set the schedulerName (added in #33843) but this can only be set globally across all airflow components. We would like to override this for only the workers, similar to how other fields such as node selectors and affinity can be overridden.

For consistency with other configuration options under workers, I have added this override to both the pod template file and the celery workers deployment.

We could also support configuring an overriding schedulerName for all other components (webserver, scheduler, etc) but I can't think of any need for this currently.

@jedcunningham jedcunningham merged commit 2b56677 into apache:main Jul 31, 2025
73 checks passed
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 7, 2025
fweilun pushed a commit to fweilun/airflow that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants