# apecloud/kubeblocks

KubeBlocks is a Kubernetes Operator designed to manage a variety of databases and streaming systems, including MySQL, PostgreSQL, MongoDB, Redis, RabbitMQ, RocketMQ, and more, within Kubernetes environments.

Repository: https://github.com/apecloud/kubeblocks
Canonical: https://ross.abutalabs.com/products/kubeblocks
Homepage: https://kubeblocks.io
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: mysql-operator, mongodb-operator, postgresql-operator, rabbitmq-operator, redis-operator, databases, helm, k8s, kubernetes, operator, mongodb, mysql, postgresql, rabbitmq, redis, elasticsearch, elasticsearch-operator, rocketmq, rocketmq-operator
Last push: 2026-08-25T10:46:10+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 58, longevity 100
- inputs: {"age_days": 1472, "days_push": 8, "days_rel": 203, "gap_med": 73, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3114, forks 277 (observed 2026-08-28T04:07:44.035156+00:00)

## What it is
KubeBlocks is an open-source Kubernetes operator and control plane that manages 35+ database and streaming engines (MySQL, PostgreSQL, Redis, MongoDB, Kafka, etc.) through a single unified set of CRDs and APIs. It handles full lifecycle and day-2 operations including provisioning, high availability, failover, backup/recovery, scaling, upgrades, and observability.

## Use cases
- run mysql and postgres on kubernetes with one operator
- manage redis clusters on kubernetes
- replace multiple database operators with a unified api
- deploy mongodb on kubernetes with high availability and failover
- backup and point-in-time recovery for databases in k8s
- build a dbaas platform on kubernetes
- migrate databases from bare metal to kubernetes
- manage kafka and rabbitmq clusters on kubernetes

## When to choose
- you run multiple database engines on kubernetes and want one operator and api
- you need production-grade day-2 operations like backup, failover, and rolling upgrades
- you are building a database-as-a-service platform on k8s
- you want to reduce operator sprawl and gitops complexity

## When to avoid
- you run a single database engine and its dedicated operator fits your needs
- you do not use kubernetes or prefer managed cloud database services
- you need engines not covered by kubeblocks addons

## Facets
- artifact type: service
- maturity: active
- function: container-orchestration, deployment, backup, monitoring, alerting, configuration-management
- domain: databases, cloud-computing, self-hosted, microservices
- platform: go, cloud, self-hosted
- tags: kubernetes-operator, database-operator, dbaas, crd, stateful-workloads, high-availability, day-2-operations, helm, multi-engine, devops, containers, kubernetes, docker

## Member repositories
- apecloud/kubeblocks (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.035156+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:40.452084+00:00, confidence not recorded.
  - readme: https://github.com/apecloud/kubeblocks (fetched 2026-08-28T04:07:44.035156+00:00, sha f4092d07e5a1)
  - homepage: https://kubeblocks.io (fetched 2026-08-29T09:41:44.259255+00:00, sha 7c44431db411)
  - site_page: https://kubeblocks.io/docs/preview/user_docs (fetched 2026-08-29T09:41:44.262848+00:00, sha db15ada496e0)
  - site_page: https://kubeblocks.io/blog/interview-china-mobile-cloud-dingshun (fetched 2026-08-29T09:41:44.266600+00:00, sha b459bbe0d4d6)
  - site_page: https://kubeblocks.io/blog/how-to-manage-database-clusters-without-a-dedicated-operator (fetched 2026-08-29T09:41:44.268654+00:00, sha 8bfd6b2eba1f)
  - site_page: https://kubeblocks.io/blog/migrate-redis-in-kuaishou-from-bare-metal-to-k8s (fetched 2026-08-29T09:41:44.271000+00:00, sha ca11d6271e8a)
  - site_page: https://kubeblocks.io/blog/instanceset-introduction (fetched 2026-08-29T09:41:44.273112+00:00, sha 995fecde3993)
  - site_page: https://kubeblocks.io/blog/oci-tcp-blackhole-troubleshooting (fetched 2026-08-29T09:41:44.264550+00:00, sha 2d1096fd8312)
- Data as of 2026-08-30T08:39:29.467469+00:00.
