-
Notifications
You must be signed in to change notification settings - Fork 16.8k
add support for pod disruption budget #13220
add support for pod disruption budget #13220
Conversation
Signed-off-by: Jay Howard <jay.howard@rmn.com>
Hi @jaypatrickhoward. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thanks for this.
I wonder if not the way that e.g prometheus-operator implements this is better though. Where you have to specify something like this in the values file:
enabled: false
minAvailable: 1
maxUnavailable: ""
Less flexible, but more explicit and user friendly.
stable/metrics-server/Chart.yaml
Outdated
@@ -2,7 +2,7 @@ apiVersion: v1 | |||
appVersion: 0.3.2 | |||
description: Metrics Server is a cluster-wide aggregator of resource usage data. | |||
name: metrics-server | |||
version: 2.6.0 | |||
version: 2.6.1 |
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.
Could you bump minor version here?
|
||
# The values to set in the PodDisruptionBudget spec (minAvailable/maxUnavailable) | ||
# If not set then a PodDisruptionBudget will not be created | ||
podDisruptionBudget: |
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.
Could you add a (commented out) example of what is users should add here? Right now, one has to look at the template.
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.
Will do. I have another nearly-identical PR pending for the kubernetes-dashboard chart. Do you advise preemptively making the same changes there?
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.
To clarify: all the changes, not just the additional documentation in values.yaml.
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.
I would advice that yes. The kubernetes-dashboard maintainer may have other preferences 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.
I went ahead and made the changes over there as well. No response yet, but I'm happy to do it whichever way they prefer.
/assign |
Signed-off-by: Jay Howard <jay.howard@rmn.com>
Signed-off-by: Jay Howard <jay.howard@rmn.com>
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jaypatrickhoward, olemarkus 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 |
* add support for pod disruption budget Signed-off-by: Jay Howard <jay.howard@rmn.com> * explicitly support current pod disruption budget options Signed-off-by: Jay Howard <jay.howard@rmn.com> * lint: add newline at end of file Signed-off-by: Jay Howard <jay.howard@rmn.com>
* add support for pod disruption budget Signed-off-by: Jay Howard <jay.howard@rmn.com> * explicitly support current pod disruption budget options Signed-off-by: Jay Howard <jay.howard@rmn.com> * lint: add newline at end of file Signed-off-by: Jay Howard <jay.howard@rmn.com>
* add support for pod disruption budget Signed-off-by: Jay Howard <jay.howard@rmn.com> * explicitly support current pod disruption budget options Signed-off-by: Jay Howard <jay.howard@rmn.com> * lint: add newline at end of file Signed-off-by: Jay Howard <jay.howard@rmn.com>
* add support for pod disruption budget Signed-off-by: Jay Howard <jay.howard@rmn.com> * explicitly support current pod disruption budget options Signed-off-by: Jay Howard <jay.howard@rmn.com> * lint: add newline at end of file Signed-off-by: Jay Howard <jay.howard@rmn.com>
* add support for pod disruption budget Signed-off-by: Jay Howard <jay.howard@rmn.com> * explicitly support current pod disruption budget options Signed-off-by: Jay Howard <jay.howard@rmn.com> * lint: add newline at end of file Signed-off-by: Jay Howard <jay.howard@rmn.com>
What this PR does / why we need it:
Adds support for Pod Disruption Budget.
Checklist