-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(helm): add pdb for minion and minion-stateless #17538
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #17538 +/- ##
============================================
- Coverage 63.21% 63.18% -0.03%
- Complexity 1476 1477 +1
============================================
Files 3170 3172 +2
Lines 189508 189773 +265
Branches 28997 29041 +44
============================================
+ Hits 119789 119908 +119
- Misses 60417 60557 +140
- Partials 9302 9308 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Pull request overview
This PR adds PodDisruptionBudget (PDB) support for Pinot's minion and minion-stateless components to ensure minimum availability during voluntary disruptions, particularly useful for deployments on spot/preemptible VMs.
Changes:
- Added PDB configuration sections to
minionandminionStatelessin values.yaml - Created PDB template files for both minion components
- Disabled by default to maintain backward compatibility
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| helm/pinot/values.yaml | Added pdb configuration blocks for both minion components with enabled, minAvailable, and maxUnavailable fields |
| helm/pinot/templates/minion/poddisruptionbudget.yaml | New PDB template for minion component with conditional rendering based on configuration |
| helm/pinot/templates/minion-stateless/poddisruptionbudget.yaml | New PDB template for minion-stateless component with conditional rendering based on configuration |
ebdda3e to
6c347ce
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.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
6c347ce to
c6a3590
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.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Add PodDisruptionBudget support for Minion components
Summary
Adds PDB configuration support for
minionandminionStatelesscomponents to match existing controller/broker/server functionality.Changes
pdbsection tominioninvalues.yamlpdbsection tominionStatelessinvalues.yamlUse Case
Ensures minimum minion availability during voluntary disruptions, especially useful when running on spot/preemptible VMs.