Skip to content

Add PodDisruptionBudget for csi-provisioner controller#1695

Open
huww98 wants to merge 1 commit into
kubernetes-sigs:masterfrom
huww98:add-controller-pdb
Open

Add PodDisruptionBudget for csi-provisioner controller#1695
huww98 wants to merge 1 commit into
kubernetes-sigs:masterfrom
huww98:add-controller-pdb

Conversation

@huww98
Copy link
Copy Markdown
Contributor

@huww98 huww98 commented May 14, 2026

What type of PR is this?

/kind feature

What this PR does / why we need it:

Adds a PodDisruptionBudget for the csi-provisioner Deployment with maxUnavailable: 1. This ensures at least one controller pod remains available during voluntary disruptions (e.g. node drain), preventing provisioning downtime.

Enabled by default, configurable via controller.pdb.enabled and controller.pdb.maxUnavailable in values.yaml.

Which issue(s) this PR fixes:

NONE

Special notes for your reviewer:

Reference: AWS EBS CSI driver has a similar PDB enabled by default for their controller.

Does this PR introduce a user-facing change?

Add PodDisruptionBudget for csi-provisioner to prevent all controller pods from being evicted simultaneously.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

Ensures at least one controller pod remains available during voluntary
disruptions (e.g. node drain), preventing provisioning downtime.
@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 14, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: huww98

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from iltyty and mowangdk May 14, 2026 07:59
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants