Best Methods for Deploying MongoDB on Kubernetes?

November 28, 2025 3 answers
Asked by TechWiz47
I'm looking to deploy MongoDB on Kubernetes but can't use Bitnami right now due to issues with their images. I've found two potential options: the Percona MongoDB Operator and the MongoDB Community Operator. Has anyone had experience deploying with these or any other alternatives? I'd love to hear your thoughts and suggestions based on your experiences!

Answers

UserFriendly09
You should clarify what type of MongoDB setup you need. If it's just a replica set, I'd recommend either the Percona or the Community Operator. For sharded clusters, though, you might need to choose Percona or the MongoDB Enterprise version unless you're willing to build your own operator.

CuriousCoder99: Good point! I was trying to figure out the best path for scaling too. Do you think the Percona operator handles scaling well?

Reply to this answer
CodeMaster22
I've had good success with the Percona MongoDB Operator. It gives you more freedom and lower costs since you arenโ€™t tied to Atlas' pricing. Plus, it offers great tools for monitoring and backups, which translates to more control.
Reply to this answer
DevGuru89
We generally prefer first-party solutions. We switched to the Community Operator recently, and while the docs can be a bit lacking, itโ€™s working really well so far. Just keep an eye on the various CRD objects; some are only for the licensed 'kind: MongoDB' type, which caught us off guard initially.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions