Skip to content

Add worker PodDisruptionBudget to trino helm chart#429

Open
andrii29 wants to merge 2 commits into
trinodb:mainfrom
andrii29:main
Open

Add worker PodDisruptionBudget to trino helm chart#429
andrii29 wants to merge 2 commits into
trinodb:mainfrom
andrii29:main

Conversation

@andrii29

Copy link
Copy Markdown

Add worker PodDisruptionBudget support to the trino chart with configurable options under worker.podDisruptionBudget.

Copilot AI review requested due to automatic review settings May 25, 2026 18:57
@cla-bot cla-bot Bot added the cla-signed label May 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds configurable PodDisruptionBudget support for Trino worker pods in the Helm chart, with corresponding values and documentation updates.

Changes:

  • Introduces worker.podDisruptionBudget in chart values (and test values).
  • Adds a new Helm template to render a Worker PodDisruptionBudget when configured.
  • Documents the new configuration in the chart README.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tests/trino/test-values.yaml Adds worker.podDisruptionBudget to test values.
charts/trino/values.yaml Documents and exposes worker.podDisruptionBudget configuration.
charts/trino/templates/poddisruptionbudget-worker.yaml New template that conditionally renders a Worker PDB.
charts/trino/README.md Documents worker.podDisruptionBudget and provides an example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +23 to +27
{{- if $hasMinAvailable }}
minAvailable: {{ $workerPdb.minAvailable }}
{{- else }}
maxUnavailable: {{ $workerPdb.maxUnavailable }}
{{- end }}
Comment thread charts/trino/README.md
Comment on lines +681 to +687
* `worker.podDisruptionBudget` - object, default: `{}`

Worker [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) configuration. Configure one of the following options: `minAvailable` - minimum number of worker pods that must stay available. `maxUnavailable` - maximum number of worker pods that can be unavailable.
Example:
```yaml
podDisruptionBudget:
minAvailable: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants