Deploy production-grade MySQL clusters in minutes. Automate high availability, PITR backups, and zero-downtime upgrades.
HA Topologies
Data Loss on Failover
High Availability Target
Open Source
Deploy MySQL in 3 steps
Install KubeBlocks
# Add Helm repo helm repo add kubeblocks https://apecloud.github.io/helm-charts helm repo update # Install KubeBlocks helm install kubeblocks kubeblocks/kubeblocks \ --namespace kb-system --create-namespace
Create a MySQL Cluster
apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: mysql-cluster spec: terminationPolicy: Delete clusterDef: mysql topology: semisync # or mgr componentSpecs: - name: mysql replicas: 3
Cluster is Ready
$ kubectl get cluster mysql-cluster NAME CLUSTER-DEF TOPOLOGY STATUS AGE mysql-cluster mysql semisync Running 2m
Trusted by Engineering Teams at Scale
From a lightweight dev instance to a production-grade Group Replication cluster — choose the topology that fits your workload.
One primary with one or more semi-synchronous replicas. At least one replica acknowledges each transaction before the primary commits, ensuring zero data loss on failover.
Automatic primary election on failure
Read scale-out via replicas
Zero data loss — semi-sync ACK before commit
Optional ProxySQL for read/write splitting
Syncer sidecar manages role detection
:6033 or direct :3306role=primary✓ = Supported · ~ = Partial / Limited · ✗ = Not supported
| Feature | KubeBlocks | Oracle MySQL Operator | Percona Operator | Bitpoke Operator |
|---|---|---|---|---|
| Open Source | ✓ | ✓ | ✓ | ✓ |
| Multi-engine (one operator) | ✓ | ✗ | ✗ | ✗ |
| SemiSync Replication | ✓ | ✓ | ~ | ✓ |
| Group Replication (MGR) | ✓ | ✓ | ~ | ✗ |
| Orchestrator HA | ✓ | ✗ | ✗ | ✗ |
| ProxySQL (read/write split) | ✓ | ✗ | ✓ | ✓ |
| PITR (binlog streaming) | ✓ | ~ | ✓ | ~ |
| Unified OpsRequest API | ✓ | ✗ | ✗ | ✗ |
| Dynamic config (no restart) | ✓ | ~ | ~ | ~ |
| Horizontal scaling OpsRequest | ✓ | ~ | ~ | ✗ |
| TLS in-place rotation | ✓ | ~ | ~ | ~ |
| Prometheus metrics | ✓ | ✓ | ✓ | ✓ |
Based on publicly available documentation. Features may vary by version.
KubeBlocks automates the hardest parts of running MySQL on Kubernetes — so your team doesn't have to.
Our benchmark shows KubeBlocks-managed MySQL on Kubernetes delivers performance on par with — or better than — Amazon RDS.
≈ RDS
Throughput (TPS)
KubeBlocks MySQL achieves comparable TPS to Amazon RDS MySQL under equivalent hardware configurations.
-25%
P99 Latency vs. Amazon RDS
In IO-bound write-intensive workloads (8C32GB / 3,000 IOPS), KubeBlocks achieves 25% lower P99 latency than RDS — driven by a 2G redo log capacity default vs. RDS's 100M.
0
Kubernetes Performance Tax
With proper parameter tuning and IOPS, running MySQL on Kubernetes introduces no performance degradation vs. bare-EC2 deployments.
No SSH into pods, no shell scripts. Submit an OpsRequest and KubeBlocks handles the rest.
High Availability & Scaling
Horizontal Scaling
Add or remove replicas online without downtime or reconfiguration.
Vertical Scaling
Resize CPU and memory on running instances with a rolling strategy.
Volume Expansion
Expand PVC storage without pod restarts on supported storage classes.
Rolling Restart
Controlled pod restarts with zero traffic disruption.
Planned Switchover
Promote a specific replica to primary with zero data loss.
Stop / Start
Suspend clusters to eliminate compute cost; resume with full state.
Configuration, Security & Observability
Dynamic Configuration
Tune MySQL parameters via OpsRequest — no restart for supported vars.
TLS Encryption
Enable, rotate, or disable in-flight encryption without downtime.
Password Management
Rotate root and custom account credentials stored in Kubernetes Secrets.
Minor Version Upgrade
Rolling upgrades across minor MySQL versions with health checks.
Prometheus Metrics
Per-instance metrics via mysqld_exporter on :9104, Grafana dashboards included.
Audit Logging
Centralized query audit trail via Loki Stack for compliance requirements.
Open source and production-ready. Enterprise customers get dedicated onboarding, migration support, and SLA guarantees.