01 Deploy Doris Operator
Deploying the Doris Operator consists of three steps: installing the CRD, deploying the Operator service, and checking the deployment status.
Step 1: Install the Doris Operator CRD
Add the Doris Operator Custom Resource Definition (CRD) with the following command:
kubectl create -f https://raw.githubusercontent.com/apache/doris-operator/master/config/crd/bases/crds.yaml
Step 2: Deploy the Doris Operator
Install the Doris Operator with the following command:
kubectl apply -f https://raw.githubusercontent.com/apache/doris-operator/master/config/operator/operator.yaml
Expected output:
namespace/doris created
role.rbac.authorization.k8s.io/leader-election-role created
rolebinding.rbac.authorization.k8s.io/leader-election-rolebinding created
clusterrole.rbac.authorization.k8s.io/doris-operator created
clusterrolebinding.rbac.authorization.k8s.io/doris-operator-rolebinding created
serviceaccount/doris-operator created
deployment.apps/doris-operator created
Step 3: Check the Doris Operator Status
Check the deployment status of the Doris Operator with the following command:
kubectl get pods -n doris
Expected output:
NAME READY STATUS RESTARTS AGE
doris-operator-7f578c86cb-nz6jn 1/1 Running 0 19m