I'm looking to deploy MongoDB on Kubernetes but can't use Bitnami due to issues with their images. I've encountered two options: the Percona MongoDB Operator and the MongoDB Community Operator. Has anyone here deployed MongoDB using these options or any others? I'm curious about your experiences and which you would recommend.
6 Answers
Have you considered DocumentDB? It allows you to deploy through a more mature Postgres operator like CNPG, which has additional features compared to MongoDB operators.
We generally prefer first-party operators. We recently switched to the MongoDB Community Operator, and although the documentation could be improved, it's performed really well for us. Just be cautious of the different CRD objects; some can only be used with the licensed 'kind: MongoDB' object, which might be a bit confusing when setting up configurations.
We've set up the Percona operator for both live and local environments, and it's been fantastic! In our live setups, we've integrated all the PMM monitoring systems and the backup agent with GCS, and everything is running smoothly. The operator provides control over user settings, networking, access, sharding, HA configurations, and backups through standard CRDs, all managed via helm and deployed through ArgoCD.
Could you provide more details on the type of MongoDB deployment? If it's just a replica set, then the Percona or Community operators are solid options. But if you're looking into sharded clusters, you'll need Percona or MongoDB Enterprise unless you're planning to create your own operator for that. Also, consider observability and backup strategies; scaling is important too! It's a complex journey ahead.
We chose Percona after Bitnami started charging for their images. It offers various deployment options, including standalone and sharded setups, which makes it versatile. Plus, it comes with PBM for built-in backups, covering all the essential needs. The team behind it is responsive too; reaching out via GitHub issues is an option for support.
Percona MongoDB is great for more flexibility and lower costs compared to Atlas. You won't be restricted by their pricing or limitations; you can customize everything as needed, plus it offers solid tools for monitoring and backups. It's like getting more control with less vendor lock-in, and it's usually more budget-friendly!

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux