Skip to main content

Data Store Operators Survey

Research for go-kure/launcher#1637. It asks which operators for MariaDB, MySQL, Valkey and Redis launcher could support, how each compares with the CloudNativePG support it already has, and which route fits: a Go type, or a generic-route definition over a pinned CRD. It proposes. It builds nothing, and nothing here is scheduled. Which kinds launcher supports is the maintainer’s decision.

All repository facts were read on 2026-12-02 from each project’s own repository (CRD files, README, docs, LICENSE) and the GitHub API. Launcher was read at 4aea7808. A fact marked unknown was not found.

Maintainer decision (2026-12-03)

The maintainer answered the MariaDB part on 2026-12-02 and 2026-12-03, and the base-kinds rule on 2026-12-03 (“things that deploy pods should get go types”); both are recorded on go-kure/launcher#1637. Where this page’s proposals differ from the decision below, the decision governs. The page itself is the reading of 2026-12-02 and is not rewritten: go-kure/launcher#1705, open when it was written, has merged since.

Decision on the pageAnswer
1. MariaDB scopeBuild the kinds, on the latest stable operator release (26.10.2): 11 kinds, five Go types (MariaDB, Backup, PhysicalBackup, Restore, SqlJob, the kinds that start pods) and six definitions, ExternalMariaDB included. The mariadb lowering rule is not decided: a higher-level model is a separate layer, decided later. Tracked in go-kure/launcher#1819.
2. MaxScaleOut.
3. MySQLNot decided, nothing built.
4. Valkey and RedisNot decided, nothing built.
5. Other storesNot decided, nothing built.

The other kinds chosen the same day, and the Go-versus-definition rule, are in the offering plan.

Result

  • MariaDB: build it, as a set of Go kind types and one lowering rule, like CNPG (see “Maintainer decision”: Go types only for the kinds that start pods, and the lowering rule is not decided). The operator covers most of what the CNPG support covers, with its own backup, restore and point-in-time recovery (no plugin). The gaps are an image catalog and publication and subscription kinds (none), a proxy (MaxScale, under a source-available licence) and point-in-time recovery on the asynchronous topology only. Its API is v1alpha1 throughout, and its pod settings are flat fields in the resource, so only a Go type can bound them.
  • MySQL: nothing now. The cheapest fit is moco, whose resource carries a full pod spec at one path, so it may take the generic route if go-kure/launcher#1705 is built and the pod settings outside that path (container overrides, and the flat settings of its backup Jobs) are also refused or checked. The fullest is the Percona operator for MySQL, which needs a Go type.
  • Valkey and Redis: nothing now. The Valkey project’s own operator says it is not ready for production and has no backup. Redis 8 and later is offered under a choice of RSALv2, SSPLv1 or AGPLv3, which matters for the choice of server.
  • Other stores (Kafka, RabbitMQ, MongoDB, ClickHouse): nothing now.

The ranked proposal and the decisions it leaves are at the end.

What “support similar to CNPG” covers

Launcher supports CloudNativePG with 11 kind types (cnpg-cluster, cnpg-database, cnpg-databaserole, cnpg-pooler, cnpg-objectstore, cnpg-scheduledbackup, cnpg-backup, cnpg-imagecatalog, cnpg-clusterimagecatalog, cnpg-publication, cnpg-subscription), each the whole upstream spec decoded strictly, and the postgresql type, a Go lowering rule onto them. The operator custom-resource components page has the design. The bounds are in pkg/oam/builtin/components/bounds.go: instance count (replica-maximum), cpu and memory (resource-maximum), every storage request (storage-maximum), the image of every container (registry), and the two security contexts (privileged, container-capability).

CapabilityLauncher today (CNPG)
Clustercnpg-cluster; postgresql with replicas, storageSize, resources
Databasecnpg-database; postgresql.databases
User and grantscnpg-databaserole; postgresql.managedRoles
Pooling or proxycnpg-pooler (PgBouncer); postgresql.pooler
Backup to object storagecnpg-objectstore, cnpg-scheduledbackup, cnpg-backup (Barman Cloud plugin); postgresql.backup
Restore and point-in-time recoverypostgresql.recovery
Monitoringthe cluster’s monitoring settings
Image catalog, version pinningcnpg-imagecatalog, cnpg-clusterimagecatalog; postgresql.version
Publication and subscription (logical replication of chosen tables)cnpg-publication, cnpg-subscription

The non-test Go of this support is 3,282 lines in the 12 cnpg_*.go files and 3,247 lines in the 5 postgresql*.go files (counted with wc -l, 2026-12-02). That is the size every effort figure below is read against.

How the two routes meet an operator

The offering plan splits kinds in two. A generic route definition (a ComponentDefinition over a pinned CRD, go-kure/launcher#1712) needs no Go, and refuses a CRD whose spec is open. An operator that runs pods from settings in its resource carries no pod policy on that route, because the policy check passes a custom resource “whatever it holds”. go-kure/launcher#1705 is open (the offering plan marks it not scheduled). It asks for a way to declare, in a definition, the paths where a resource holds a pod spec, so the existing pod policy can read them. A path list reads only nodes shaped as a pod spec. So each candidate is read for one thing: do its pod settings sit at a pod-spec-shaped path (the generic route, after go-kure/launcher#1705), or in flat fields (a Go type, as CNPG has)?

MariaDB operator

Source: mariadb-operator/mariadb-operator, files read 2026-12-02 18:45: the 12 CRD files under config/crd/bases, README.md, LICENSE, and the docs/ pages on replication, Galera, MaxScale, backups, point-in-time recovery, metrics, registry, security and updates.

Maturity.

  • Latest release 26.10.2 on 2026-10-24; about one release a month (26.10.1 on 2026-09-21). The repository was pushed on 2026-12-02. Calendar versioning.
  • MIT licence. 1044 stars; 86 contributors (last page of the contributors listing).
  • All 12 CRDs are group k8s.mariadb.com, version v1alpha1. The README says the CRDs follow the Kubernetes API conventions; it states no stability level.
  • The adopters list has 3 entries (a PaaS platform, a managed-services company, a database platform).
  • MariaDB plc also sells a separate “MariaDB Enterprise Operator” (README). Not read.
  • Compatibility (README): MariaDB Community 10.6 or later, MaxScale 23.08 or later, Kubernetes 1.31 or later. It works only with official MariaDB images.

CRDs (all namespaced). MariaDB, Database, User, Grant, Connection, Backup (logical, mariadb-dump), PhysicalBackup (mariadb-backup or volume snapshots), Restore, PointInTimeRecovery, SqlJob, MaxScale, ExternalMariaDB. Every spec is typed; none is open.

Feature match with CNPG:

CapabilityMariaDB operatorMatch
ClusterMariaDB: replicas; topology by replication (asynchronous or semi-synchronous) or galera (synchronous multi-primary); standalone by default; multiCluster for cross-cluster replication; 62 top-level spec fieldsyes
DatabaseDatabase (name, characterSet, collate, cleanupPolicy)yes
User and grantsUser (password secret, maxUserConnections, require for TLS) and Grant (privileges, database, table, grantOption): two kinds, where CNPG has one role kindyes
Pooling or proxyMaxScale (a proxy that balances load and fails over). The operator has no pooler of its own. MaxScale 23.08 is under the Business Source License (docs/maxscale.md, line 7)partial
Backup to object storagePhysicalBackup and Backup, each with schedule, maxRetention, compression. Their destinations differ: Backup (logical) takes s3, persistentVolumeClaim or volume; PhysicalBackup takes s3, azureBlob, persistentVolumeClaim, volume or volumeSnapshot. The operator runs the backups itself, so no plugin is neededyes
RestoreRestore, and MariaDB.spec.bootstrapFrom (backupRef, s3, volumeSnapshotRef, targetRecoveryTime)yes
Point-in-time recoveryPointInTimeRecovery (binlog archive to s3 or azureBlob) with bootstrapFrom.pointInTimeRecoveryRef. Supported only on the asynchronous replication topology; Galera and standalone are “upcoming” (docs/pitr.md, lines 27-31)partial
Monitoringspec.metrics: a mysqld-exporter run as its own Deployment (multi-target, scraped on /probe), and a ServiceMonitor it creates. serviceMonitor.enabled: false opts out, and the ServiceMonitor CRD is then not needed (docs/metrics.md, lines 25-55)yes
Image catalog, version pinningspec.image only; no catalog kind; updateStrategy and mariadbAutoUpgradeEnabled for major upgradespartial
Publication and subscriptionnone; replication copies the whole server’s binary log (docs/replication.md), and no kind selects what to publishno
Not in CNPGConnection (a Secret with a connection string for an application), SqlJob (run SQL), ExternalMariaDB (manage users and databases on an instance outside the cluster)extra

Fit to launcher’s model.

  • Route: a Go type for MariaDB and the four Job kinds (the other kinds start no pods and ship as definitions, see “Maintainer decision”). Pod settings are flat fields at the root of the resource: resources, affinity, securityContext, podSecurityContext, tolerations, volumes, env, plus initContainers and sidecarContainers, which are full containers. There is no pod-spec-shaped template. go-kure/launcher#1705 does not reach it; the CNPG kinds’ flat-field bounds are the pattern.
  • Registry bound: the CRD has 8 places that hold an image: image, initContainers[], sidecarContainers[], metrics.exporter, and the agent and init container of both replication and galera. MaxScale has three of its own. The operator’s own data-plane image (docs/data_plane.md) runs beside the database in the same pod, so a registry allowlist must name the operator image too.
  • Other bounds: replicas (replica-maximum; also MaxScale.replicas); resources (resource-maximum), repeated on Backup, PhysicalBackup, Restore and SqlJob, which run as Jobs; storage.size and storage.volumeClaimTemplate (storage-maximum); securityContext and podSecurityContext (privileged, container-capability); volumes (host-path).
  • Credentials: the root password is a Secret reference (rootPasswordSecretKeyRef); unset, the operator generates one (docs/security.md). The same Secret-name shape as cnpg-databaserole.
  • Monitoring: launcher supports VictoriaMetrics, and its operator converts a ServiceMonitor. The exporter is scraped through /probe?target=<pod>, which the shipped monitoring trait does not write. A lowering rule would either keep the ServiceMonitor the operator creates or set serviceMonitor.enabled: false and write a VictoriaMetrics kind. Which of these works was not tried.
  • Version: a mariadb lowering rule can compose spec.image from a version input, as postgresql does. There is no catalog to bound.

Effort. CNPG took 11 kind types and one lowering rule. MariaDB has 12 kinds. MaxScale and ExternalMariaDB can wait, which leaves 10 (MariaDB, Database, User, Grant, Connection, Backup, PhysicalBackup, Restore, PointInTimeRecovery, SqlJob). Each kind needs a strict decode, a schema pinned by a coverage test against the operator’s Go types, a defaulted-zero test and a bounds block. The mariadb lowering rule is comparable to postgresql (databases, users, backup, recovery). With a v1alpha1 API the schema can change between operator releases. The coverage tests catch an added, removed or retyped top-level field; a field added inside an open nested object (a pod setting under resources or securityContext, say) is not caught, so a dependency upgrade also needs an audit of the nested pod settings against the bounds.

Recommendation: build it, in two steps. First the kind types and their bounds, then the lowering rule. Leave MaxScale to a hand-written generic definition (the licence is the maintainer’s to weigh).

Alternative MySQL operators

Files read 2026-12-02 from each repository (CRD files, README, LICENSE, deploy/cr.yaml where one exists). Facts: repository API for stars and releases; contributors from the contributors listing.

Oracle MySQL OperatorPercona Operator for MySQL (PS)Percona XtraDB Cluster operator (PXC)mocoVitess operator
Repositorymysql/mysql-operatorpercona/percona-server-mysql-operatorpercona/percona-xtradb-cluster-operatorcybozu-go/mocoplanetscale/vitess-operator
Latest releasenone on GitHub; tag 26.10.0-2.3.2 (2026-11-17)v1.3.0, 2026-10-29v1.20.0, 2026-06-05v0.38.0, 2026-10-29v2.17.1, 2026-09-03
LicenceUPL 1.0Apache 2.0Apache 2.0Apache 2.0Apache 2.0
Contributors1333744562
APImysql.oracle.com/v2ps.percona.com/v1pxc.percona.com/v1moco.cybozu.com/v1beta2planetscale.com/v2
Kinds3 (InnoDBCluster, MySQLBackup, MySQLClusterSetFailover)432 (MySQLCluster, BackupPolicy)8
TopologyInnoDB Cluster (group replication)group replication (GA) or asynchronous (tech preview)Galerasemi-synchronous, GTIDsharded, via VTGate
Database, user kindsno; nono; users inline in the clusterno; users inlineno; no (SQL)keyspace kind; no user kind
Backup to S3yes (restore at bootstrap only)yesyesyesyes
Point-in-timepartial (MySQL Enterprise Backup only)yesyesyesno field
ProxyMySQL RouterHAProxy or RouterHAProxy or ProxySQLnoneVTGate
Monitoringexporter and ServiceMonitorPercona PMM client onlyPMM onlyexporter; operator PodMonitorsexporter; no monitor object
Pod settingsspec.podSpec, an open object merged onceflat per componentflat per componentspec.podTemplate.spec, a full typed pod spec; also spec.podTemplate.overwriteContainers, and flat jobConfig fields on BackupPolicy and restore (volumes, env, security contexts, affinity)flat per component
Routepod-spec path (open node), untestedGo typeGo typepod-spec path for the pods only; the container overrides and Job settings need more, untestedGo type

Notes by candidate:

  • Oracle: no database or user kinds; the dbUser and grants block in the metrics settings is commented out “only supported for development purpose” (CRD lines 524-542). Releases are tags only. Status labels: none stated. The CRD file also carries two helper kinds of a Python framework (zalando.org) that are not for users.
  • Percona PS: the README says GA with group replication, and “tech preview … we don’t recommend using this replication type in production yet” for asynchronous. ClusterSet is a fourth kind for cross-cluster replication.
  • Percona PXC: the older of the two (repository created 2018); the v1 CRD is typed, but its ten older versions have an open spec. Which of the two Percona recommends now is unknown: the docs name none, and the PS release notes for v1.0.0 call the PXC operator “production-ready” as the alternative.
  • moco: a small, typed API. No proxy, no database or user kind, and it does not manage group replication. The pod settings are a full pod spec (spec.podTemplate.spec, 42 fields) and a PVC template; a container named mysqld must exist. Two more places hold pod settings that a path to the pod spec does not read: spec.podTemplate.overwriteContainers (overrides of the operator’s own containers) and the flat jobConfig of BackupPolicy and restore, which takes volumes, env, affinity and both security contexts. Whether its 9,550-line CRD loads as a definition was not tried.
  • Vitess: runs MySQL as the storage layer of a sharded topology (VTGate, vttablet, etcd). It is a platform, not a MySQL operator, and no launcher type would be a MySQL instance. Out.
  • KubeDB: the installer is under the AppsCode Community License 1.0.0, which is source-available and not open source; the operator source is not public. Out on licence. Its API types repository is Apache 2.0.
  • Stale: bitpoke/mysql-operator (last release 2023-05-22) and radondb/radondb-mysql-kubernetes (last release 2024-11-07).
  • New: cnmsql/cnmsql (created 2026-06-10, Apache 2.0, 3 contributors, v0.10.1 on 2026-11-23) copies CNPG’s design: Cluster, Database, DatabaseUser, Backup, ScheduledBackup, LogicalRestore and two image catalogs, over Percona Server only. Its API is v1alpha1 and the evidence of use is thin. Watch only.

Recommendation. No Go type for MySQL now. If a MySQL kind is wanted, take moco on the generic route if go-kure/launcher#1705 is built: it is the smallest API (2 kinds) and its pod spec sits at one path a path list could name. That route would still need the container overrides and the backup Job settings refused or checked by other means, which go-kure/launcher#1705 does not promise. If the fuller feature set is wanted (users, proxy, point-in-time recovery, S3 backups), Percona PS is the candidate for a Go type, with the cost of flat fields and 4 kinds. The two MySQL-compatible options differ in what they run (semi-synchronous replication against group replication), and that is for the decision, not for this page.

Valkey and Redis operators

Files read 2026-12-02 from each repository. The server’s own licence was read from its licence file.

The servers.

ServerLicenceNote
ValkeyBSD 3-Clause (COPYING)The copyright lines name the Valkey contributors and Redis Ltd. (2006-2020)
Redis 8 and lateryour choice of RSALv2, SSPLv1 or AGPLv3 (LICENSE.txt, lines 1-8)Redis 7.2 and earlier stay BSD 3-Clause
DragonflyDragonfly Source-Available License from version 2.1: free in production up to 100 vCPUs, a commercial licence above; no distribution as a database or cache productLines 61-107 of the file were not read

The operators.

Valkey project’s ownOT-CONTAINER-KITDragonfly operatorhyperspikeRedis Enterprise
Repositoryvalkey-io/valkey-operatorOT-CONTAINER-KIT/redis-operatordragonflydb/dragonfly-operatorhyperspike/valkey-operatorRedisLabs/redis-enterprise-k8s-docs
Latest releasev0.10.0, 2026-11-30v0.27.0, 2026-10-09v1.8.0, 2026-11-09v0.0.61, 2025-10-128.2.6-26, 2026-11-18
Operator licenceApache 2.0Apache 2.0Apache 2.0Apache 2.0none in the repository
Contributors3712874822
APIvalkey.io/v1alpha1redis.redis.opstreelabs.in/v1beta2dragonflydb.io/v1alpha1hyperspike.io/v1app.redislabs.com
EngineValkeyRedis onlyDragonflyValkeyRedis Enterprise
Modescluster onlystandalone, replication, Sentinel, clusterprimary with replicasclustercluster
Backup to S3nonopartial (a snapshot dir may be an s3:// URI; AWS S3 shown)nonot read
Users or ACLinline acl.usersan ACL file in a Secret or PVCan ACL file in a Secretnoneseparate kinds
Monitoringexporter sidecar; no monitor objectexporter; monitor through Helm valuesexporter; example PodMonitor to applyexporter; ServiceMonitor flagnot read
Pod settingsflat; a containers[] patchflat per roleflatflat, fewnot read
RouteGo typeGo typeGo typeGo typeout

Notes:

  • Valkey project’s operator: the README says “not ready for production use”, and the v0.10.0 notes list five known data-loss issues and a breaking change. Cluster mode is the only mode (“no standalone or sentinel”, “no backup/restore”, quickstart line 106). Sentinel and a user kind are proposals in open issues (valkey-io/valkey-operator#641 for the user kind). It is the strongest long-term candidate for Valkey and not usable for production today.
  • OT-CONTAINER-KIT is the most complete (4 kinds, all four Redis modes), but it cannot run Valkey: its roadmap lists Valkey support as planned and its own issue OT-CONTAINER-KIT/redis-operator#1395 is open. It has no backup. It would run Redis, whose current licence is the question above.
  • Dragonfly: one kind, one engine; the server licence limits production use above 100 vCPUs.
  • hyperspike: slowing down (last release 14 months before this read, last commit 2026-01-28); the code notes that replicas creates extra primary nodes.
  • Spotahome (spotahome/redis-operator): archived; the README names no successor.
  • Redis Enterprise: a commercial product with a licence-key field in its cluster kind; its terms are unknown from what was read.
  • Other operators found by search (not opened beyond their repository metadata unless noted): SAP/valkey-operator (Sentinel or static primary, installs the Bitnami chart, no sharding); chideat/valkey-operator (cluster, failover and replica modes, a User kind, v2.1.1); InditexTech/redkey-operator. Each has 30 to 52 stars.

Recommendation. No Go type for Valkey or Redis now.

  • The datastore@v1 model already covers a single Valkey instance with storage, a config and a budget, with the image and credentials passed in. It writes no replication, so more than one replica is not high availability.
  • Prefer Valkey to Redis as the default engine: its licence is BSD, and Redis 8 is offered only as a source-available or copyleft choice (RSALv2, SSPLv1 or AGPLv3).
  • Re-read the Valkey project’s operator when it drops the production warning and gains backup. It is the one a Go type would follow.

Other stores worth a look

Each is one row: kinds and licence read from the repository on 2026-12-02. None is proposed.

OperatorKindsLicenceLast releasePod settingsWhy it is here
Strimzi (Kafka)Kafka, KafkaNodePool, KafkaTopic, KafkaUser and 6 moreApache 2.01.3.1, 2026-11-04a curated template.pod subsetThe survey counted its chart as operator-only, so no kind was counted
RabbitMQ cluster operatorRabbitmqClusterMPL 2.0v2.23.3, 2026-11-11flat, and spec.override.statefulSet.spec.template, a typed pod templateSame: operator-only chart
Percona MongoDB operator4 (cluster, backup, restore, cluster sync)Apache 2.0v1.23.1, 2026-10-05flat per replica setThe common open document store with no type
Altinity ClickHouse operator4Apache 2.0release-0.27.4, 2026-09-24spec.templates.podTemplates[].spec, an open whole pod specThe analytics store in the same family

Fit with what exists

  • A model is enough where no operator is worth its cost. datastore@v1 (go-kure/launcher#1755) is a StatefulSet, two Services, a ConfigMap and a budget. A store preset (MariaDB, Redis) is listed there as not covered. A Go type pays for itself where an operator gives backup, restore and users, which is the CNPG case and the MariaDB case, and not yet the Valkey case.
  • The generic route cannot bound flat fields. go-kure/launcher#1705 reads pod-spec-shaped paths only. MariaDB, Percona, Vitess, OT-CONTAINER-KIT, Dragonfly and the Valkey project’s operator all keep pod settings in flat fields, so none of them is helped by it.
  • A v1alpha1 API moves. MariaDB, the Valkey project’s operator and Dragonfly are all v1alpha1. The coverage test of the CNPG kinds fails when an operator release adds, removes or retypes a top-level field. It compares top-level keys and broad types only, so nested pod settings need a separate audit on each upgrade.

Ranked proposal

RankCandidateProposalRoute
1MariaDB operatorBuild: kind types, then a mariadb lowering ruleGo
2moco (MySQL)Generic-route definition after go-kure/launcher#1705, if a MySQL kind is wanted and its container overrides and Job settings are also boundedGeneric, with a gap
3Percona Operator for MySQLGo type only if the fuller MySQL feature set is wantedGo
4Valkey project’s operatorRe-read when it leaves “not ready for production”Go, later
5datastore@v1 for ValkeyUse now for a single instance; no codeModel
noneOracle, PXC, Vitess, KubeDB, cnmsql, OT-CONTAINER-KIT, Dragonfly, hyperspike, Redis Enterprise, Strimzi, RabbitMQ, MongoDB, ClickHouseNot now, for the reasons above

Decisions for the maintainer

  1. MariaDB scope. Build the 10 kind types and the lowering rule in two steps (recommended), build only the kind types and stop, or leave MariaDB to datastore@v1. The first gives most of what the CNPG support gives (without an image catalog, publication and subscription kinds or a proxy, and with point-in-time recovery on one topology only); the second leaves users to write the lowering by hand; the third gives no backup, users or databases.
  2. MaxScale. Leave it out of the first set and to a hand-written definition (recommended), or include its kind. The operator’s CRD is MIT; the MaxScale server it runs is under the Business Source License.
  3. MySQL. None now (recommended), moco on the generic route after go-kure/launcher#1705 (with its container overrides and backup Job settings still to be bounded), or a Percona Go type.
  4. Valkey and Redis. None now, datastore@v1 meanwhile and Valkey as the default engine (recommended), or a Go type for OT-CONTAINER-KIT (Redis only, no backup, Redis 8 licence).
  5. Other stores. None now (recommended), or name one to research further.

What could not be confirmed

  • Whether the moco CRD or an Oracle podSpec node loads as a generic-route definition: neither was tried.
  • How a mariadb lowering rule would scrape the exporter with VictoriaMetrics, and the MariaDB operator’s behaviour on a cluster: nothing was run on a cluster.
  • Which Percona operator Percona recommends now; Vitess restore behaviour; the KubeDB community edition’s feature list; the Redis Enterprise licence terms; lines 61-107 of the Dragonfly licence.
  • Valkey project and CNPG-landscape listings of other operators were not read; the others were found by repository search.
  • Stars and contributor counts are the state on the day of reading and are not weighted.