Skip to content

Add workers.celery.resources & workers.kubernetes.resources#61890

Merged
jscheffl merged 3 commits intoapache:mainfrom
Miretpl:add-workers-celery-k8s-resources
Mar 11, 2026
Merged

Add workers.celery.resources & workers.kubernetes.resources#61890
jscheffl merged 3 commits intoapache:mainfrom
Miretpl:add-workers-celery-k8s-resources

Conversation

@Miretpl
Copy link
Contributor

@Miretpl Miretpl commented Feb 13, 2026

related: #28880

This PR introduces two new fields: workers.celery.resources and workers.kubernetes.resources. The workers.resources field is deprecated, as it is rather unlikely to have the same resource configuration for pod-template and Celery workers.

Unlike the other sections which are used by both worker types, we deprecate the workers.resources section. It is rather unlikely to have exact the same resources for workers and tasks.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@Miretpl Miretpl force-pushed the add-workers-celery-k8s-resources branch from b36bee4 to 3c3aae6 Compare March 6, 2026 19:08
@Miretpl Miretpl marked this pull request as ready for review March 6, 2026 20:14
@jscheffl jscheffl added this to the Airflow Helm Chart 1.20.0 milestone Mar 11, 2026
@jscheffl jscheffl merged commit 1520bde into apache:main Mar 11, 2026
98 checks passed
@Miretpl Miretpl deleted the add-workers-celery-k8s-resources branch March 11, 2026 20:57
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…1890)

* Add workers.celery.resources & workers.kubernetes.resources

* Add newsfragment
PascalEgn pushed a commit to PascalEgn/airflow that referenced this pull request Mar 12, 2026
…1890)

* Add workers.celery.resources & workers.kubernetes.resources

* Add newsfragment
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