I'm looking for a simple solution to set up a single MongoDB instance without the hassle of managing a full MongoDB operator. My team oversees many Kubernetes clusters and we want to avoid adding extra overhead just for one MongoDB deployment. Manually managing an operator for one team isn't feasible when we have to consider the complexity and workload it adds to our pipeline, especially in terms of testing, rollout, and ongoing lifecycle management. Does anyone have recommendations for a straightforward Helm chart or deployment method that would allow us to run a single MongoDB instance?
4 Answers
Keep in mind that whoever is responsible for maintaining the MongoDB instance will have to ensure it remains operational. If something goes wrong, they will have to deal with it, and that might make the overhead of using an operator more justified. It might benefit your team to consider this in the long run.
Managing an operator typically involves less overhead than trying to manage the database itself without one. The operator helps streamline operations in the long run, especially if you plan to expand in the future.
Have you thought about whether your current deployment strategy is reusable? In a large organization, handling everything at scale can get tricky. While operators help manage issues like pod disruptions and backups effectively, I'd recommend checking out the Percona MongoDB Operator if you decide to go that route. But if you’re set on avoiding that, look for a lightweight Helm chart that meets your specific needs.
You might find it easier to just run a StatefulSet instead of managing an operator. If you're simply looking to have a single node for MongoDB without the complications of clustering or backups, a StatefulSet can handle that for you. If you need more complex features, consider using cloud solutions or VMs outside of Kubernetes.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically