Doris kubernetes operator

Clone this repo:
  1. aa8d5cc feat: publish a GitHub release in release step 4 and make it idempotent (#513) by Mingyu Chen (Rayner) · 8 days ago master
  2. f705d05 fix: adapt scale-down to Doris 4.1.3 (#510) by Linying Assad · 12 days ago 26.0.1
  3. 9b8952e fix: run license check safely for fork PRs (#511) by Linying Assad · 3 weeks ago
  4. c418a18 add release tools (#507) by Mingyu Chen (Rayner) · 5 weeks ago
  5. 13e87b8 Merge pull request #505 from Al-assad/codex/ignore-pvc-template-runtime-fields by catpineapple · 6 weeks ago 26.0.0

English | 中文

doris-operator

Doris-Operator for doris creates, configures and manages doris cluster running on kubernetes. Operator provide deploy and manage fe, be, cn,broker components. Users custom DorisCluster CRD to deploy doris as demand.

License Operator Release Tags docker pull issues Go Version docs

Features

  • Realized Doris management by custom DorisCluster resource.
  • Safe Doris cluster configuration & topology changes.
  • Custom node configuration and attributes.
  • Provide the debug ability in container when the service crashed.
  • Support deploy storage-compute separation mode of Doris.

Requirements

  • Kubernetes 1.19+
  • Doris's components need 8c cpu and 8G memory at least to normal start.

Installation

  1. Install custom resource definitions:
kubectl create -f https://raw.githubusercontent.com/apache/doris-operator/$(curl -s https://api.github.com/repos/apache/doris-operator/releases/latest | grep tag_name | cut -d '"' -f4)/config/crd/bases/doris.apache.com_dorisclusters.yaml
  1. Install the operator with its RBAC rules:
    the default deployed namespace is doris, when deploy on specific namespace, please pull yaml and update namespace field.
kubectl apply -f https://raw.githubusercontent.com/apache/doris-operator/$(curl -s  https://api.github.com/repos/apache/doris-operator/releases/latest | grep tag_name | cut -d '"' -f4)/config/operator/operator.yaml
  1. Install Doris on Kubernetes:
kubectl apply -f https://raw.githubusercontent.com/apache/doris-operator/$(curl -s https://api.github.com/repos/apache/doris-operator/releases/latest | grep tag_name | cut -d '"' -f4)/doc/examples/doriscluster-sample.yaml 

[!WARNING] When custom the FE startup configuration, please set enable_fqdn_mode=true. Please refer to the official doc for how to use.

Documentation

Open source support