-
Notifications
You must be signed in to change notification settings - Fork 828
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
helm: support PodDisruptionBudget for resources #3955
helm: support PodDisruptionBudget for resources #3955
Conversation
54100f9
to
9893be5
Compare
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
9893be5
to
823aeb3
Compare
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.
/assign
Thanks @a7i I'll take a look ASAP.
podDisruptionBudget: &podDisruptionBudget {} | ||
# maxUnavailable: 20% |
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.
Does this mean all components will share the same budget?
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.
Each resource has its own podDisruptionBudget
configuration which can get an override. This was following the existing pattern of karmadaImageVersion
on line 20 but happy to remove the anchor tag if you suggest though.
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.
Looks good to me.
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
hello @a7i, thank you for your important commit! Though the PR is merged, I wanna to bother you some questions:
Thank you again~ |
I guess not all users need PDB, that's why take empty as default. |
or by supplying your own values.yaml |
ok, got it~ |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Currently there's not a way to render PodDisruptionBudget for critical resources such as kube-apiserver
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: