operator

by StarRocks

Helm chartv1.11.8App 1.11.8Verified publisher

A Helm chart for StarRocks operator

About this chart

Deploy Operator by operator Chart

Helm is a package manager for Kubernetes. A Helm Chart is a Helm package and contains all of the resource definitions necessary to run an application on a Kubernetes cluster. This topic describes how to use Helm to automatically deploy a StarRocks operator on a Kubernetes cluster.

Before you begin

Install operator Chart

  1. Add the Helm Chart Repo for StarRocks. The Helm Chart contains the definitions of the StarRocks Operator and the custom resource StarRocksCluster.

    1. Add the Helm Chart Repo.

      helm repo add starrocks https://starrocks.github.io/starrocks-kubernetes-operator
      
    2. Update the Helm Chart Repo to the latest version.

      helm repo update starrocks
      
    3. View the Helm Chart Repo that you added.

      $ helm search repo starrocks
      NAME                                    CHART VERSION    APP VERSION  DESCRIPTION
      starrocks/kube-starrocks      1.8.0            3.1-latest   kube-starrocks includes two subcharts, starrock...
      starrocks/operator            1.8.0            1.8.0        A Helm chart for StarRocks operator
      starrocks/starrocks           1.8.0            3.1-latest   A Helm chart for StarRocks cluster
      
  2. Install the operator Chart.

    helm install starrocks-operator starrocks/operator
    

    Please see values.yaml for more details.

Uninstall operator Chart

helm uninstall starrocks-operator

Deploy operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartoperator is pinned at v1.11.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply