Перейти к содержимому
Последнее обновление

Deploy on Kubernetes

On Kubernetes, Apache Doris is managed by Doris Operator. For a first deployment, follow this order:

  1. Complete the preparation checks for cluster permissions, resources, StorageClass, image pulls, and Pod security policies.
  2. Choose the integrated storage and compute mode or the compute-storage decoupled mode, and deploy the cluster by following the corresponding tutorial.
  3. Connect to the cluster as described in the tutorial, then create a table, write data, and query it.

Choose a deployment mode​

ItemIntegrated storage and computeCompute-storage decoupled
Where data is storedBE local disks (PVCs)Object storage; BE local disks are used only as cache
Components to deployFE, BEFE, MetaService (MS), compute groups (BE), and FoundationDB for metadata
What to prepare before deploymentA Kubernetes cluster and a default StorageClassThe same, plus S3-compatible object storage and its credentials
Resources requested by the tutorialAbout 5 CPU / 10GiAbout 11 CPU / 16.25Gi

If you do not have object storage yet, or just want to try Doris first, choose the integrated storage and compute mode. For a detailed comparison of the two architectures, see Choosing a Deployment Mode.

Example versions​

This documentation uses the following versions as examples. The commands, YAML, and sample output in the tutorials are based on these versions:

ComponentVersionImage or file source
Doris Operator26.0.1Image apache/doris:operator-26.0.1; the CRDs and deployment manifests come from the 26.0.1 tag of apache/doris-operator
Doris (FE, BE, MS)4.1.5apache/doris:fe-4.1.5, apache/doris:be-4.1.5, apache/doris:ms-4.1.5
FoundationDB Operator (compute-storage decoupled only)v2.35.0velodb/fdb-kubernetes-operator:v2.35.0, published by VeloDB
FoundationDB (compute-storage decoupled only)7.3.69velodb/fdb-kubernetes-monitor:7.3.69, published by VeloDB
Kubernetesv1.35.8Single-node kind cluster, arm64

All of the Doris, Doris Operator, and FoundationDB images above are available for linux/amd64 and linux/arm64. When you use another Doris version, FE, BE, and MS must use the same version. For the compute-storage decoupled mode, also make sure that the FoundationDB client built into MetaService is compatible with your FoundationDB version.

Get started​