-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(argo-workflows): Add unhealthyPodEvictionPolicy to workflow controller PDB #3012
base: main
Are you sure you want to change the base?
fix(argo-workflows): Add unhealthyPodEvictionPolicy to workflow controller PDB #3012
Conversation
35975a4
to
11ebb3d
Compare
@@ -14,6 +14,7 @@ spec: | |||
{{- else }} | |||
minAvailable: 0 | |||
{{- end }} | |||
unhealthyPodEvictionPolicy: IfHealthyBudget |
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.
Feels like this should be user-configurable as some users may well prefer AlwaysAllow
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.
Done ✅
I ran ./scripts/helm-docs.sh
but the attribute doesn't show up in the doc. What did I do wrong ?
Also this only went stable fairly recently didn't it (maybe 1.31 from memory)? How will this work for older k8s clusters? |
11ebb3d
to
75a88df
Compare
I added a comment and made the parameter optional. |
charts/argo-workflows/values.yaml
Outdated
@@ -344,6 +344,9 @@ controller: | |||
enabled: false | |||
# minAvailable: 1 | |||
# maxUnavailable: 1 | |||
|
|||
# -- [unhealthyPodEvictionPolicy] is only valid for v1.31+ |
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.
v1.31 of what?
It's valid for earlier versions but it's behind a gate.
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.
Fixed the comment ✅
…oller PDB Signed-off-by: Clément FLEURY <[email protected]>
75a88df
to
cd21b38
Compare
- kind: added | ||
description: Support lifecycle and terminationGracePeriodSeconds for server |
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.
Please remove old one.
Resolves #3011
Checklist: