-
Notifications
You must be signed in to change notification settings - Fork 16.4k
feat: allow customizing podManagementPolicy #42673
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
Conversation
|
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. |
|
cc: @jedcunningham for cross-check |
|
Already merged but it will be nice if you add a UT for this 🙂 |
|
hi @romsharon98 , I beg your pardon, what is a UT? I will add it |
in UT I ment unit tests. |
* feat: allow customizing podManagementPolicy * fix: adjust schema and identation * ci: adjust lint --------- Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
* feat: allow customizing podManagementPolicy * fix: adjust schema and identation * ci: adjust lint --------- Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
* feat: allow customizing podManagementPolicy * fix: adjust schema and identation * ci: adjust lint --------- Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
* feat: allow customizing podManagementPolicy * fix: adjust schema and identation * ci: adjust lint --------- Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
* feat: allow customizing podManagementPolicy * fix: adjust schema and identation * ci: adjust lint --------- Co-authored-by: Arakaki, Everton <everton.arakaki@rabobank.nl>
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.