Skip to content

MongoDB Enhancements to PDB #30621

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

Closed
edrose opened this issue Nov 25, 2024 · 3 comments
Closed

MongoDB Enhancements to PDB #30621

edrose opened this issue Nov 25, 2024 · 3 comments
Assignees
Labels
feature-request mongodb solved stale 15 days without activity triage Triage is needed

Comments

@edrose
Copy link

edrose commented Nov 25, 2024

Name and Version

bitnami/mongodb 6.3.0

What is the problem this feature will solve?

The notes for the chart state the following:

NOTE: An update takes your MongoDB(®) replicaset offline if the Arbiter is enabled and the number of MongoDB(®) replicas is two. Helm applies updates to the StatefulSets for the MongoDB(®) instance and the Arbiter at the same time so you lose two out of three quorum votes.

This isn't strictly true. Helm does update both at the same time, however Kubernetes disrupts both the cluster and the arbiter at the same time because the pod disruption budgets are configured to allow it to.

What is the feature you are proposing to solve the problem?

Rather than installing separate pdbs for the mongo cluster and the arbiter, install just a single pdb with selector labels that cover both. Kubernetes will then only allow a single pod of the set of three to go offline at once, solving the issue stated in the notes.

What alternatives have you considered?

Currently I've disabled pdb creation in the chart and I've deployed a custom pdb to cover both the replicas and the arbiter.

@github-actions github-actions bot added the triage Triage is needed label Nov 25, 2024
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Dec 12, 2024
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request mongodb solved stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants