Helm is the best way to find, share, and use software built for Kubernetes. Helm Charts help to define, install, and upgrade even the most complex Kubernetes application. Helm Chart makes it easy to deploy Doris clusters and skip difficult configuration steps.
This Doris repository have resources about RBAC , deployment ...etc for doris-operator running.
$ helm repo add doris-repo https://charts.selectdb.com
$ helm repo update doris-repo
$ helm search repo doris-repo NAME CHART VERSION APP VERSION DESCRIPTION doris-repo/doris-operator 1.3.1 1.3.1 Doris-operator for doris creat ... doris-repo/doris 1.3.1 2.0.3 Apache Doris is an easy-to-use ...
doris$ helm install operator doris-repo/doris-operator
$ helm install -f values.yaml operator doris-repo/doris-operator
Check the deployment status of Pods through the kubectl get pods command. Observe that the Pod of doris-operator is in the Running state and all containers in the Pod are ready, that means, the deployment is successful.
$ kubectl get pod --namespace doris NAME READY STATUS RESTARTS AGE doris-operator-866bd449bb-zl5mr 1/1 Running 0 18m
storageClass for providing persistent volume.$ helm install doriscluster doris-repo/doris
$ helm install -f values.yaml doriscluster doris-repo/doris
After executing the installation command, deployment and distribution, service deployment scheduling and startup will take a certain amount of time. Check the deployment status of Pods through the kubectl get pods command.
Observe that the Pod of doriscluster is in the Running state and all containers in the Pod are ready, that means, the deployment is successful.
$ kubectl get pod --namespace doris NAME READY STATUS RESTARTS AGE doriscluster-helm-fe-0 1/1 Running 0 1m39s doriscluster-helm-fe-1 1/1 Running 0 1m39s doriscluster-helm-fe-2 1/1 Running 0 1m39s doriscluster-helm-be-0 1/1 Running 0 16s doriscluster-helm-be-1 1/1 Running 0 16s doriscluster-helm-be-2 1/1 Running 0 16s
Please confirm the Doris is not used, when using next command to uninstall doriscluster.
$ helm uninstall doriscluster
Please confirm that Doris is not running in Kubernetes, use next command to uninstall doris-operator.
$ helm uninstall operator