feat(chart): add PodDisruptionBudget and topologySpreadConstraints support#5638
Open
bafulton wants to merge 1 commit intoakuity:mainfrom
Open
feat(chart): add PodDisruptionBudget and topologySpreadConstraints support#5638bafulton wants to merge 1 commit intoakuity:mainfrom
bafulton wants to merge 1 commit intoakuity:mainfrom
Conversation
…pport
Add support for PodDisruptionBudgets and topology spread constraints
to enable robust high-availability deployments.
Changes:
- Add PDB templates for api, webhooksServer, and externalWebhooksServer
- Add topologySpreadConstraints to deployment templates
- Add configuration options in values.yaml with sensible defaults
- Update README with new parameter documentation
For HA deployments, users can now:
- Enable PDBs to ensure availability during voluntary disruptions
- Configure topology spread constraints to distribute pods across zones
Example usage:
```yaml
api:
replicas: 2
podDisruptionBudget:
enabled: true
minAvailable: 1
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app.kubernetes.io/component: api
```
Closes akuity#5396
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Ben Fulton <ben.fulton@semgrep.com>
✅ Deploy Preview for docs-kargo-io ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Member
|
Note that #5396 was not yet evaluated by any maintainers and remains in a proposal state, as indicated by its labels. We can take a look at this, but it's going to receive the scrutiny now that it should have received before anyone spent time implementing it. @hiddeco would you mind having a look at this, but only if you have the bandwidth? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for PodDisruptionBudgets and topology spread constraints to enable robust high-availability deployments.
Closes #5396
Changes
Usage Example
Test Plan
helm lintpasses