tree: f00bb0e7e28609c2e5edb6caca09c831f7196b83 [path history] [tgz]
  1. api/
  2. build/
  3. cmd/
  4. config/
  5. hack/
  6. pkg/
  7. test/
  8. .golangci.yml
  9. go.mod
  10. go.sum
  11. Makefile
  12. PROJECT
  13. README.md
  14. start.sh
shardingsphere-operator/README.md

Apache ShardingSphere Operator

The ShardingSphere Operator uses predefined CustomResourceDefinitions for describing an Apache ShardingSphere Deployment on Kubernetes.

Requirements

With the help of ShardingSphere-Operator you can create a ShardingSphere-Proxy cluster including the ZooKeeper cluster in minutes.

For installation of SharingSphere-Operator, you will need a Kubernetes cluster. No matter it is a managed Kubernetes service like AWS EKS or self-hosted Kubernetes, or just a mini-kube, you can easily install ShardingSphere-Operator with respective ShardingSphere Operator Helm Charts, and apply the manifests in ShardingSphere Operator Cluster Helm Charts describing the expected Apache ShardingSphere deployment. Kubernetes 1.18+ is recommended.

Internal Architecture

img.png

Current Status

Minimum Viable Product

Quick Start

Please follows instructions to deploy a ShardingSphere cluster with version 5.2.0.

Features

  • Supports the use of proxy to configure and describe the shardingsphere-proxy cluster. For detailed configuration, see the deployment documentation.
  • Support native shardingsphere proxy server.yaml configuration. For specific support items, please refer to the documentation
  • Support automatic creation of HPA based on CPU metrics.
  • Support automatic download of MySQL driver.

Installation

Helm

  • ShardingSphere-Operator chart
    • Support deploy shardingsphere operator.
  • ShardingSphere-Cluster chart
    • Support deploy shardingsphere proxy cluster.
    • Support deploy Zookeeper by bitnami.
    • Support automatic configuration of the address of the governance center.
    • Use github pages to host repositories and support helm repo add to add repositories.

Development Requirements

To build ShardingSphere Operator from scratch you will need to install the following tools: