03 Deploy Doris Cluster
Before deploying a Doris cluster on Kubernetes, deploy Doris Operator in advance.
The process of deploying a Doris cluster consists of three steps: download the Doris deployment template, configure and install the customized deployment template, and check the cluster status.
Step 1: Download the Doris deployment template
curl -O https://raw.githubusercontent.com/apache/doris-operator/master/doc/examples/doriscluster-sample.yaml
Step 2: Install the customized deployment template
Customize the configuration as needed according to the cluster configuration section, and then deploy with the following command:
kubectl apply -f doriscluster-sample.yaml
Step 3: Check the cluster deployment status
- Check the status of pods:
kubectl get pods
Expected result:
NAME READY STATUS RESTARTS AGE
doriscluster-sample-fe-0 1/1 Running 0 2m
doriscluster-sample-be-0 1/1 Running 0 3m
- Check the status of the deployed resource:
kubectl get dcr -n doris
Expected result:
NAME FESTATUS BESTATUS CNSTATUS BROKERSTATUS
doriscluster-sample available available