Skip to content

KubeBlocks helps developers and platform engineers manage database workloads (MySQL, PostgresSQL, Redis, MongoDB, Kafka and vector databases) on K8s inside your own cloud account. It supports multiple clouds, including AWS, Azure, GCP, and Alibaba Cloud.

License

Notifications You must be signed in to change notification settings

NoicFank/kubeblocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KubeBlocks

Build status Go Report Card Docker Pulls codecov LICENSE Releases TODOs Artifact HUB

image

What is KubeBlocks

KubeBlocks is an open-source tool designed to help developers and platform engineers build and manage stateful workloads, such as databases and analytics, on Kubernetes. It is cloud-neutral and supports multiple public cloud providers, providing a unified and declarative approach to increase productivity in DevOps practices.

The name KubeBlocks is derived from Kubernetes and building blocks, which indicates that standardizing databases and analytics on Kubernetes can be both productive and enjoyable, like playing with construction toys. KubeBlocks combines the large-scale production experiences of top public cloud providers with enhanced usability and stability.

Why you need KubeBlocks

Kubernetes has become the de facto standard for container orchestration. It manages an ever-increasing number of stateless workloads with the scalability and availability provided by ReplicaSet and the rollout and rollback capabilities provided by Deployment. However, managing stateful workloads poses great challenges for Kubernetes. Although statefulSet provides stable persistent storage and unique network identifiers, these abilities are far from enough for complex stateful workloads.

To address these challenges, and solve the problem of complexity, KubeBlocks introduces ReplicationSet and ConsensusSet, with the following capabilities:

  • Role-based update order reduces downtime caused by upgrading versions, scaling, and rebooting.
  • Latency-based election weight reduces the possibility of related workloads or components being located in different available zones.
  • Maintains the status of data replication and automatically repairs replication errors or delays.

Goals

  • Enhance stateful applications control plane manageability on Kubernetes clusters, being open sourced and cloud neutral
  • Manage data platforms without a high cognitive load of cloud computing, Kubernetes, and database knowledge
  • Be community-driven, embracing extensibility, and providing domain functions without vendor lock-in
  • Reduce costs by only paying for the infrastructure and increasing the utilization of resources with flexible scheduling
  • Support the most popular databases, analytical software, and their bundled tools
  • Provide the most advanced user experience based on the concepts of IaC and GitOps

Key features

  • Kubernetes-native and multi-cloud supported.
  • Supports multiple database engines, including MySQL, PostgreSQL, Redis, MongoDB, and more.
  • Provides production-level performance, resilience, scalability, and observability.
  • Simplifies day-2 operations, such as upgrading, scaling, monitoring, backup, and restore.
  • Declarative configuration is made simple, and imperative commands are made powerful.
  • The learning curve is flat, and you are welcome to submit new issues on GitHub.

For detailed feature information, see Feature list

Documents

Quick start with KubeBlocks

Quick Start shows you the quickest way to get started with KubeBlocks.

Introduction

Introduction is a detailed information on KubeBlocks.

Installation

Installation document for install KubeBlocks, playground, kbctl, and create database clusters.

User documents

User documents for instruction to use KubeBlocks.

Design proposal

Design proposal for design motivation and methodology.

Community

Contributing to KubeBlocks

Your contributions and suggestions are welcomed and appreciated.

License

KubeBlocks is under the Apache 2.0 license. See the LICENSE file for details.

About

KubeBlocks helps developers and platform engineers manage database workloads (MySQL, PostgresSQL, Redis, MongoDB, Kafka and vector databases) on K8s inside your own cloud account. It supports multiple clouds, including AWS, Azure, GCP, and Alibaba Cloud.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.2%
  • CUE 7.0%
  • Smarty 3.5%
  • Shell 2.2%
  • Mustache 1.3%
  • Makefile 0.6%
  • Other 0.2%