Skip to content
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

Add podDisruptionBudget.enabled value #49

Closed
Miouge1 opened this issue Apr 15, 2021 · 1 comment · Fixed by #117
Closed

Add podDisruptionBudget.enabled value #49

Miouge1 opened this issue Apr 15, 2021 · 1 comment · Fixed by #117

Comments

@Miouge1
Copy link

Miouge1 commented Apr 15, 2021

Is your feature request related to a problem? Please describe.
When draining a Kubernetes node with kubectl drain, several couchdb pods are sometimes evicted at the same time, resulting in an unavailable couchdb cluster.

Describe the solution you'd like
Adding a kind: PodDisruptionBudget option to allow for drain to respect the disruption budget. For example waiting for the first evicted pod to be ready before evicting the next one.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Smaller kubernetes clusters are more affected by this since there are more chances that 2 couchdb pods are scheduled on the same node.

Here is an example of values that this could be controlled with:

podDisruptionBudget:
  enabled: false
  # minAvailable: 1
  maxUnavailable: 1
@clayvan
Copy link
Contributor

clayvan commented Feb 2, 2023

Totally wild that nobody else has asked for this? Maybe everyone is just creating their own PDB for it like we are?

@bryopsida bryopsida mentioned this issue May 14, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants