Add a pdb to the helm chart

Closed Beginner friendly
#2,265 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@sandert-k8s is already working on this.

Since Nov 2, 2026.

  • #2268 by @sandert-k8s — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go, helm, kubernetes
Domain
devops

Research direction

Start with the Helm chart: find where replicaCount is set in the values file and where the controller and Capsule Proxy Deployment templates read it. Add a PodDisruptionBudget template for each component that renders only when replicaCount is greater than 1. Done means that helm template with replicaCount above 1 produces a PDB for both components, and with replicaCount at 1 it produces none.

Written by the indexing model from the issue text.

Description

blocked-needs-validation

Describe the feature

Currently there is no PDB option in the chart. This would be nice, because currently there could be a potential issue that all replica's are down if there is a issue with for example node upgrades.

Same for Capsule Proxy.

What would the new user story look like?

Add a default PDB option to the chart.

Potential: automatically enable it when the replicaCount is higher then 1.

Expected behavior

The Capsule pod can't be terminated when the new one is not healthy yet. This PDB should only be there when the replicaCount is higher then 1.

Dominant language
Go
Stars
2.2k
Forks
225
Avg merge
1d 59m
Merged PRs (30d)
58

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from projectcapsule/capsule

All issues in projectcapsule/capsule

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.