feat(chart): add opt-in PodDisruptionBudget for Longhorn UI - #13378
Conversation
|
Please remember to update the chart README for the new configurable value |
|
Thanks, good catch. Pushed a fix using I kept a three-branch form rather than dropping |
277e9d3 to
177325d
Compare
177325d to
c1b6cad
Compare
|
Rebased onto the latest |
|
Hello @somaz94 |
|
Thanks @derekbit! I've opened a dedicated improvement ticket for this UI PDB slice and linked it to #12889:
This PR (#13378) implements that ticket. Happy to adjust the scope or split further if that helps validation/backport. PTAL 🙏 |
c1b6cad to
e2951a9
Compare
There was a problem hiding this comment.
Pull request overview
Adds an opt-in PodDisruptionBudget (PDB) for the Longhorn UI workload in the Helm chart to improve UI availability during voluntary disruptions (e.g., node drains) without changing default behavior.
Changes:
- Introduces
longhornUI.podDisruptionBudgetvalues (disabled by default) withminAvailable/maxUnavailablesupport. - Adds a new
policy/v1PodDisruptionBudget manifest for the UI, rendered only when enabled. - Documents the new values under Longhorn UI settings in the chart README.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| chart/values.yaml | Adds new longhornUI.podDisruptionBudget configuration values and defaults. |
| chart/templates/poddisruptionbudget-ui.yaml | New template to render a UI PodDisruptionBudget when enabled. |
| chart/README.md | Documents the new UI PDB values in the configuration table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@somaz94 Could you check if the comments from copilot need to be addressed? Thanks. |
|
@derekbit Thanks for the ping — both Copilot comments are addressed in 23518fe:
Verified with |
23518fe to
8499f5a
Compare
8499f5a to
621a0d5
Compare
621a0d5 to
4c3fe73
Compare
|
@COLDTURNIP @derekbit — I believe everything raised is now addressed; summarizing so the stale review can be re-checked:
No functional changes outstanding on my side — @COLDTURNIP could you take another look when you have a moment? Thanks! |
Hello @somaz94 Could you address the comment? Thank you. |
#12889 Signed-off-by: somaz <genius5711@gmail.com>
4c3fe73 to
7466f58
Compare
|
Thanks @c3y1huang @derekbit — done. The four commits are now folded into a single commit ( Re-verified after the squash with
@COLDTURNIP the points from your review are addressed in this commit — could you take another look when you get a chance? The |
|
Tick the box to add this pull request to the merge queue (same as
|
Add an opt-in PodDisruptionBudget for the Longhorn UI Deployment, gated on
longhornUI.podDisruptionBudget.enabled(default false). The UI already defaultsto
replicas: 2with pod anti-affinity, so this lets adopters keep a UI podavailable during voluntary disruptions such as node drains, with no change to
default behavior.
This is the Longhorn UI slice of #12889 (chart PDB gap). Other rendered
Deployments can follow in separate PRs.
Validation (helm lint + helm template, chart 1.12.0-dev):
related: #12889
related: #13466