Skip to content

Conversation

@EvertonSA
Copy link
Contributor

@EvertonSA EvertonSA commented Oct 2, 2024


I as a user of StatefulSets in Airflow, would like to preserving workload uniqueness and identity guarantees, but allow scalling up and down without waiting for termination grace period.

This is useful when termination grace period is very high. In such cases, scaling up and down gets fully stuck while waiting for long running tasks.

@eladkal eladkal requested a review from romsharon98 October 3, 2024 16:17
@eladkal eladkal added this to the Airflow Helm Chart 1.16.0 milestone Oct 3, 2024
@EvertonSA
Copy link
Contributor Author

thank you so much for the help here @eladkal, at my organization, we recently pushed celery to production and at the moment we are having issues on scaling due to high termination grace period.

@potiuk
Copy link
Member

potiuk commented Oct 4, 2024

cc: @jedcunningham for cross-check

@romsharon98 romsharon98 merged commit 49b172f into apache:main Oct 8, 2024
@romsharon98
Copy link
Contributor

Already merged but it will be nice if you add a UT for this 🙂

@EvertonSA
Copy link
Contributor Author

hi @romsharon98 , I beg your pardon, what is a UT? I will add it

@romsharon98
Copy link
Contributor

hi @romsharon98 , I beg your pardon, what is a UT? I will add it

in UT I ment unit tests.
we have a unit tests documentation about the helm chart here.
the test should check if the worker deployment is statefulset and has podManagementPolicy, we added it to the yaml.

kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
* feat: allow customizing podManagementPolicy

* fix: adjust schema and identation

* ci: adjust lint

---------

Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
pavansharma36 pushed a commit to pavansharma36/airflow that referenced this pull request Oct 14, 2024
* feat: allow customizing podManagementPolicy

* fix: adjust schema and identation

* ci: adjust lint

---------

Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
* feat: allow customizing podManagementPolicy

* fix: adjust schema and identation

* ci: adjust lint

---------

Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
* feat: allow customizing podManagementPolicy

* fix: adjust schema and identation

* ci: adjust lint

---------

Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* feat: allow customizing podManagementPolicy

* fix: adjust schema and identation

* ci: adjust lint

---------

Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
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.

5 participants