What is ob-operator
ob-operator is a tool built on the Kubernetes Operator framework for managing OceanBase clusters in Kubernetes. It provides a simple and reliable way to achieve containerized deployment of OceanBase clusters, simplifying the O&M of OceanBase Database. ob-operator defines various resources related to OceanBase Database and implements corresponding coordination logic, allowing you to manage OceanBase Database in a declarative manner, similar to how you manage native Kubernetes resources.
Note
Currently, only the Community Edition of the OceanBase Database image is available.
Features
ob-operator has the following features:
OceanBase cluster management
You can deploy and manage OceanBase clusters by creating or modifying the custom resource definition (CRD)
obclusters.oceanbase.oceanbase.com. This includes creating clusters, initializing clusters, scaling clusters, and modifying cluster parameters.OceanBase tenant management
You can manage OceanBase tenants by creating or modifying the CRD
obtenants.oceanbase.oceanbase.com. This includes creating tenants, adjusting replica distribution, managing primary and standby instances, and managing tenant backups.OceanBase high availability
ob-operator provides automatic fault recovery capabilities, which can automatically restore the cluster when a failure occurs and the majority are still available, ensuring the normal operation of the cluster.
Version
The current version of ob-operator is V2.1.0.
References
For more information about ob-operator, see the ob-operator documentation.