-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
fix(helm): safer worker pod annotations #35309
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hakuno
requested review from
dstandish,
jedcunningham and
hussein-awala
as code owners
October 31, 2023 20:39
hussein-awala
approved these changes
Oct 31, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good! The failed test will be fixed by #35313; you need to merge/rebase main once the other PR is merged.
All right. Thank you so! |
eladkal
approved these changes
Nov 1, 2023
romsharon98
pushed a commit
to romsharon98/airflow
that referenced
this pull request
Nov 10, 2023
* chore(helm): safer worker pod annotations * chore(helm): safer worker pod annotations --------- Co-authored-by: hakuno <[email protected]> Co-authored-by: Hussein Awala <[email protected]>
romsharon98
pushed a commit
to romsharon98/airflow
that referenced
this pull request
Nov 11, 2023
* chore(helm): safer worker pod annotations * chore(helm): safer worker pod annotations --------- Co-authored-by: hakuno <[email protected]> Co-authored-by: Hussein Awala <[email protected]>
eladkal
pushed a commit
that referenced
this pull request
Nov 12, 2023
* add tests * rebasee * rebase * fix(helm): safer worker pod annotations (#35309) * chore(helm): safer worker pod annotations * chore(helm): safer worker pod annotations --------- Co-authored-by: hakuno <[email protected]> Co-authored-by: Hussein Awala <[email protected]> * add tests * change from rebase * fix statics * fix tests * fix tests * check * check * fix_log_test * fix statics * run precommits --------- Co-authored-by: Seiji 誠 次 <[email protected]> Co-authored-by: hakuno <[email protected]> Co-authored-by: Hussein Awala <[email protected]>
ephraimbuddy
added
the
changelog:skip
Changes that should be skipped from the changelog (CI, tests, etc..)
label
Nov 19, 2023
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
changelog:skip
Changes that should be skipped from the changelog (CI, tests, etc..)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, you all. How are you doing?
It's an initiative of #35130
This PR brings two things:
workers.podAnnotations
andairflowPodAnnotations
won't fight each other anymore. Valueworkers.podAnnotations
will have precedence overairflowPodAnnotations
value. Think of local scope and global scope (fallback). So specific settings can override generic settings on component side.workers.safeToEvict
will be embedded into pod annotations. Andworkers.podAnnotations
will have precedence over, so it keeps retrocompatibility on any workaround done in past by users.Tests
test_safetoevict_annotations (refactored)
About the safeToEvict use cases. I did a "full coverage" of following scenarios:
test_podannotations_precedence
About the pod annotations precedence.
Thanks in advance!