Closed AndrewSirenko closed 3 months ago
This PR does not change the code coverage
/retest
/lgtm
/hold
Wait for #2106 to merge first
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: torredil
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/unhold
Is this a bug fix or adding new feature?
/feature
What is this PR about? / Why do we need it?
Fixes #1934
The EBS CSI Controller Pod's PodDisruptionBudget ensures that 1 controller Pod is always running, even when many nodes are being drained at once. This ensures that PersistentVolumes are always able to be Attached/Detached Created/Deleted, and that stateful pods are not delayed by missing PVs.
Some customers have requested ability to disable this PodDisruptionBudget in order to prioritize node draining / Karpenter consolidation over the availability of the EBS CSI Driver. While we don't recommend this, this PR exposes the parameter for those who use EBS only with non-critical applications.
**What testing is
See the following rendered helm templates with and without
--set controller.podDisruptionBudget=false
, along with the diffchange.txt default.txt diff.txt done?**
Diff:
Proof in deployed cluster: