Looking for the Best MySQL/MariaDB Operator for Kubernetes

0
6
Asked By CleverOctopus42 On

I'm in the process of moving multiple databases (including PostgreSQL, MariaDB, MySQL, and H2) from virtual machines to operators on our Kubernetes cluster. We're happy with Crunchy Postgres Operator for PostgreSQL since it integrates well with the cluster, but we're still deciding on the right operator for our MariaDB and MySQL databases. Here are our key requirements: we need high availability with multiple replicas and node anti-affinity, cloud backups to S3, a smooth restore process with point-in-time recovery and cloning capabilities, solid documentation, and deployment through Helm charts. It would also be great to have monitoring features, like a Prometheus exporter. Can anyone share their experiences or recommendations for MariaDB/MySQL operators? Thanks!

3 Answers

Answered By K8s_DB_Explorer On

I'll skip the usual warnings about running databases in Kubernetes and suggest the [mariadb-operator](https://github.com/mariadb-operator/mariadb-operator). I've heard that enterprise support might be coming soon, so if you're interested in that, this could be a good option. While I’m not a fan of using Kubernetes CRDs for DB management, the operator gives you that flexibility. Consider looking into MaxScale if you need load balancing. I've also heard positive things about the Percona operator and Vitess if your use case needs sharding.

CuriousCoder57 -

What’s the complexity level of Vitess? Is it easy to set up?

Answered By MariaDBGuru123 On

Hey! Just so you know, I’m the maintainer of the mariadb-operator. You should definitely check it out [here](https://github.com/mariadb-operator/mariadb-operator). Right now, cloning isn't supported, but we're working on adding `VolumeSnapshot` support in the next release. If you have any questions about it, I’d be happy to help!

Answered By DatabaseDude88 On

I tried the Vitess operator but ended up switching to a managed MySQL server on Azure! It was just too complicated for a single app. If you choose Vitess, make sure to understand its architecture and user settings, especially regarding security.

K8s_DB_Explorer -

That makes sense! Vitess does have a steep learning curve.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.