-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable PDB for managed addon #1934
Comments
@damvinod: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for opening an issue @damvinod. Today, we don't offer a way to disable/change the ebs-csi-controller deployment's pod disruption budget in either our Helm chart or EKS-managed addon config. I'll treat this issue as a feature request to add that functionality. Could you provide some details about your use case for disabling the PDB, as under normal circumstances doing so would be inadvisable? /kind feature |
Currently we have 3 nodes in an EKS cluster with 2 replicas of ebs-csi-controller. We have a use-case to rollover 2 nodes in parallel instead of default 1 so that the rollover can be done quickly. Since the default PDB of ebs-csi-controller MAX_UNAVAILABLE is 1 we can't roll 2 nodes in parallel. So wanted to check if the PDB can be customized/deleted. |
Hi @damvinod, thank you for your use-case. We can expose a configuration option to disable the creation of the controller's PDB, so that users like you can deploy a custom PDB on their own after deploying the driver. Note that deploying the driver without a PDB with MAX_UNAVAILABLE set to 1 is highly discouraged because a cluster without a running Note that it may be possible to rollover 2 nodes in your cluster with the PDB, because as long as there is an ebs-csi-controller on that third node, the PDB won't block your node rollovers. You can make sure that is the case by cordoning + draining the nodes before deleting them so that any ebs-csi-controller pods can get rescheduled, having 3 replicas, or evicting the ebs-csi-controller pod manually from nodes you will rollover. Here is an example of me following the no-volume-lifecycle-outage version of this process, purposefully rolling over the two nodes that have the ebs-csi-controller pods scheduled.
|
Hi @AndrewSirenko, I wanted to follow-up here. We use EBS in non-critical apps so we don't mind delays or availability dips with EBS operations, just as long as existing volumes won't encounter errors and any operation will be eventually consistent. I would rather disable the PDB and allow things like Karpenter consolidation to work properly. Do you see this as a valid use-case for this configuration? |
/triage support
Hi, is there a way to delete/change PDB for the add-on via the config ? I don't see the config in the json schema.
The text was updated successfully, but these errors were encountered: