Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Under Consideration
Created by Guest
Created on Feb 8, 2021

Add ability to configure Pod Distruption Budget for STS

During maintenance work EKS admins may need to evict nodes. This should not cause outage for MongoDB cluster/replicaset running on these nodes. we can create manually PDB for STS, but it would be nice to have an option to do it as part of MongoDB Kubernetes Operator.
  • ADMIN RESPONSE
    Aug 1, 2025
    Supporting Pod Disruption Budget natively is something we do hope to do at some point. But for now it is still possible by creating the PodDisruptionBudget resource and targeting the deployment using labels. (As per https://kubernetes.io/docs/tasks/run-application/configure-pdb/) ( https://kubernetes.io/docs/tasks/run-application/configure-pdb/ )
  • Attach files
  • Guest
    Aug 20, 2022
    100% agree, This should be a task executed automatically by the operator for every new cluster/replicaset. Or at least to have the option to configure it so it is created automatically or not. PDBs help on the day 2 operation of a sts in Kubernetes, should be a standard setup.
  • Guest
    Feb 8, 2021
    During maintenance work EKS admins may need to evict nodes. This should not cause outage for MongoDB cluster/replicaset running on these nodes. we can create manually PDB for STS, but it would be nice to have an option to do it as part of MongoDB Kubernetes Operator.