Install StarRocks on Kubernetes using Helm
This article describes how to deploy the ADH StarRocks service in Kubernetes.
Prerequisites
To deploy StarRocks on Kubernetes, you need:
-
A Kubernetes cluster (1.32 - 1.34) with access configured through
kubectl. -
Helm (3.8.0 or higher) — a package manager for Kubernetes that allows quick deployment of Docker images in Kubernetes.
-
StarRocks artifacts (Docker images and Helm charts) loaded to your private OCI registry. These artifacts can be found in offline packages, which can be requested from the Arenadata support team. To deploy StarRocks components on Kubernetes, you need to unpack the following images:
-
hub.arenadata.io/adc-enterprise/starrocks:<version>-adc-<version>-fe
-
hub.arenadata.io/adc-enterprise/starrocks:<version>-adc-<version>-be
-
hub.arenadata.io/adc-enterprise/starrocks-operator:<version>
-
hub.arenadata.io/adc-enterprise/charts/starrocks-operator:<version>
-
hub.arenadata.io/adc-enterprise/charts/starrocks-cluster:<version>
-
-
An ADH cluster is installed and running (if interaction between StarRocks and ADH is required). The ADH version should be compatible with ADH Cloud.
Deployment steps
The steps below describe how to install and configure StarRocks components on Kubernetes. Configurations related to providing external access, Ingress controllers, load balancers, DNS, and cloud annotations should be performed with respect to your Kubernetes infrastructure.
Step 1. Install StarRocks operator
-
Create Helm values file starrocks-op-values.yaml:
starrocks-op-values.yaml# Default values for starrocks-operator. # This is a YAML-formatted file. # Declare variables to be passed into your templates. # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicas: 1 payloadNamespaces: # Managed namespaces for StarRocks payload resources. names: - starrocks-helm - starrocks-cluster # Explicit opt-in for cluster-wide RBAC when payloadNamespaces.names is empty. # When false, chart rendering fails until namespaces are specified. allowClusterRole: false deleteProtection: false avoidCreation: false # Enable the StarRocksWarehouse controller (-enable-warehouse). The # warehouses CRD ships with this chart's crds/, so no extra chart install # is required to turn this on. warehouse: enabled: false # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ image: registry: "<registry>" (1) repository: "<repository>" (2) tag: "<version>" pullPolicy: Always # This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ pullSecret: name: "" ## List of secrets to create for image pulling in all product namespaces credentials: {} # registry: private-docker-registry # username: user # password: pass # This is to override the chart name. nameOverride: "" fullnameOverride: "" # This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/ serviceAccount: # Automatically mount a ServiceAccount's API credentials? automount: true # Annotations to add to the service account annotations: {} # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template name: "" # This is for setting Kubernetes Annotations to a Pod. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ podAnnotations: {} # This is for setting Kubernetes Labels to a Pod. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ podLabels: {} podSecurityContext: {} # fsGroup: 2000 securityContext: readOnlyRootFilesystem: true privileged: false allowPrivilegeEscalation: false runAsNonRoot: true runAsUser: 65532 capabilities: drop: - ALL seccompProfile: type: RuntimeDefault # This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/ service: # This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types type: ClusterIP # This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports port: 8443 resources: limits: cpu: 500m memory: 256Mi nodeSelector: {} tolerations: [] affinity: {} terminationGracePeriodSeconds: 10 metrics: # Enable to protect the metrics endpoint with authn/authz. Requires ClusterRole. # See https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization auth: false1 The address of your OCI registry to pull images from. 2 The name of repository in your registry. -
Install StarRocks operator using Helm:
$ helm upgrade --install starrocks-operator oci://<registry-address>/ng/charts/starrocks-operator:<version> -f starrocks-op-values.yaml --namespace starrocks-operator-helm --create-namespaceExample output:
Release "starrocks-operator" does not exist. Installing it now. Pulled: hub.adsw.io/ng/charts/starrocks-operator:0.18.0 Digest: sha256:3559d9b6979354afa78d86c45feaa9f7a4f1e81efe417303b57e12172ef54140 NAME: starrocks-operator LAST DEPLOYED: Mon Nov 16 19:20:55 2026 NAMESPACE: starrocks-operator-helm STATUS: deployed REVISION: 1 DESCRIPTION: Install complete TEST SUITE: None NOTES:
-
Verify StarRocks operator installation using the command:
$ kubectl get pods -n starrocks-operator-helmExample output:
NAME READY STATUS RESTARTS AGE starrocks-operator-7d55d8b6b7-wsnpr 1/1 Running 0 1h
Step 2. Create Kubernetes secrets
-
Create StarRocks configuration files as shown below:
fe.confcloud_native_meta_port = 6090 enable_fqdn_mode = true enable_load_volume_from_conf = false min_graceful_exit_time_second = 25 run_mode = shared_data sys_log_level = INFOcn.confsys_log_level = INFO -
If interaction between StarRocks and an external ADH cluster is required, create the configuration files (core-site.xml, hdfs-site.xml, and hive-site.xml) using the following templates. Replace the configuration parameters in these files with the values from your ADH cluster.
core-site.xml<?xml version="1.0"?> <configuration> <property> <name>fs.defaultFS</name> <value>hdfs://adh</value> (1) </property> <property> <name>hadoop.security.authentication</name> <value>simple</value> </property> </configuration>1 Replace with a value from your ADH cluster’s /etc/hadoop/conf/core-site.xml. hdfs-site.xmlAll properties in this file must be replaced with values from your ADH cluster’s /etc/hadoop/conf/hdfs-site.xml.
<?xml version="1.0"?> <configuration> <property> <name>dfs.nameservices</name> <value>adh</value> </property> <property> <name>dfs.ha.namenodes.adh</name> <value>nn_ka-adh-1,nn_ka-adh-2</value> </property> <property> <name>dfs.namenode.rpc-address.adh.nn_ka-adh-1</name> <value>ka-adh-1.ru-central1.internal:8020</value> </property> <property> <name>dfs.namenode.rpc-address.adh.nn_ka-adh-2</name> <value>ka-adh-2.ru-central1.internal:8020</value> </property> <property> <name>dfs.client.failover.proxy.provider.adh</name> <value>org.apache.hadoop.hdfs.server.namenode.ha.ObserverReadProxyProvider</value> </property> </configuration>hive-site.xml<?xml version="1.0"?> <configuration> <property> <name>hive.metastore.uris</name> <value>thrift://ka-adh-2.ru-central1.internal:9083</value> (1) </property> <property> <name>metastore.use.SSL</name> <value>False</value> </property> <property> <name>hive.metastore.sasl.enabled</name> <value>False</value> </property> </configuration>1 Replace with a value from your ADH cluster’s /etc/hive/conf/hive-site.xml. TIPYour ADH cluster’s configuration files can be found on cluster hosts at /etc/hadoop/conf/ and /etc/hive/conf/. -
Create Kubernetes secrets using the configuration files:
$ kubectl create secret generic fe-conf --namespace starrocks-helm --from-file=fe.conf=fe.conf $ kubectl create secret generic cn-conf --namespace starrocks-helm --from-file=cn.conf=cn.conf $ kubectl create secret generic root-pwd --namespace starrocks-helm --from-literal=password='<password>' -
Verify the secrets:
$ kubectl get secrets -n starrocks-helmExample output:
NAME TYPE DATA AGE cn-conf Opaque 1 31s fe-conf Opaque 1 39s root-pwd Opaque 1 27s
Step 3. Install StarRocks cluster
-
Create Helm values file starrocks-cluster-values.yaml:
starrocks-cluster-values.yaml# Replace the chart name (starrocks-cluster) used in the default name of the resources this chart creates. nameOverride: "" # Override the fully qualified app name. Defaults to <release>-starrocks-cluster (or just <release> when the release # name already contains the chart name). fullnameOverride: "" ## Controls whether changes to referenced Secrets trigger an automatic pod rollout. ## Set enabled: false to update referenced Secrets without restarting the workload; ## pods keep running the previous configuration until the policy is re-enabled. ## Defaults to enabled (true); the block is rendered on the Cluster CR only when disabled (false). ## #configurationRollout: # enabled: true ## Root password of the StarRocks cluster: the name of an existing Secret with the password under the ## `password` key. With it set, a Job sets the password on FE after `helm install` and every `helm upgrade` ## (it does nothing once the password is set), and MYSQL_PWD of FE and CN is filled from the Secret ## unless a component sets MYSQL_PWD in its envs. Without it root keeps the empty password. ## rootPassword: secretName: root-pwd (1) # ## query_port of fe.conf, when it is not the default. # queryPort: 9030 # ## The security contexts of the init password Job, overridable wholesale. # podSecurityContext: # fsGroup: 1000 # securityContext: # runAsUser: 1000 # runAsGroup: 1000 # runAsNonRoot: true # allowPrivilegeEscalation: false # readOnlyRootFilesystem: true # capabilities: # drop: ["ALL"] # seccompProfile: # type: RuntimeDefault ## Ranger plugin on FE. The plugin files are yours: name a Secret and the keys of it the plugin reads, ## and the chart mounts all of them into /opt/starrocks/fe/conf, next to fe.conf. Set ## access_control = ranger in the fe.conf of fe.configsSecretName to turn the plugin on. # ranger: # ## Name of an existing Secret with the plugin files. Set it to enable Ranger. # secretName: "starrocks-cluster-configs-ranger" ## Hadoop client configuration (*-site.xml) of the external catalogs, mounted into the conf dir of FE and CN. ## See "Hadoop configuration (hadoopConfigs)" in the README. hadoopConfigs: (2) ## Name of an existing Secret with the *-site.xml files. secretName: "" ## Kerberos authentication of the FE, which then talks to Hive, HDFS and Ranger as a principal of ## the realm. The block is optional; without it FE runs unauthenticated. The operator mounts the keytab ## Secret at /etc/security/keytabs and its krb5.conf key at /etc/krb5.conf, so the fe.conf of ## fe.configsSecretName needs kerberos_keytab and nothing else: /etc/krb5.conf is where the JVM looks ## on its own. Rotating the keytab does not restart FE. See the "Kerberos (kerberos)" section of the ## README. ## #kerberos: # ## Realm of the KDC, the realm part of the principal, as it appears in a keytab: EXAMPLE.COM. # realm: EXAMPLE.COM # ## First component of the FE principal and the name of the service in Ranger Admin. # ## Defaults to starrocks, the name the plugin registers its service by. # service: starrocks # ## Hostname of the FE, the host part of the principal: *.<hostname>@<realm>. # hostname: starrocks-fe.kerberos.example.com # keytab: # ## Renders a Keytab CR that kerberos-operator keeps up to date. It needs the # ## krb5.arenadata.io CRDs in the cluster and a labelSelector to reach the KDC. # ## Leave it off to mount a Secret that already exists. # create: false # ## Name of the Secret with the `keytab` and `krb5.conf` keys, the one to create or the one to # ## mount. Defaults to the name of this release. # secretName: "" # ## Labels of the KDC the Keytab CR asks for the principal, as a map of label to value. # labelSelector: {} # ## Principals of other services to put into the same keytab. # additionalPrincipals: [] # ## Keytab CR only: how often kerberos-operator regenerates the keytab, and how often it checks # ## whether it is due. Both are Go durations, for example 24h and 1m. # rotation: ## ## Regenerating the Secret refreshes the files in the pods, it does not restart them. # interval: "" # checkInterval: "" ## Image pull Secret, referenced by name in the imagePullSecrets of both components. Either name an ## existing Secret, or give credentials and let the chart create <fullname>-docker-config. The ## components pull from the same registry, so one Secret covers FE and CN. imagePullSecret: ## Name of an existing image pull Secret. The chart creates nothing then. name: "" ## Credentials the chart builds the image pull Secret from, all three keys together. The chart ## creates <fullname>-docker-config from them, so a values file carries the password in the clear. credentials: {} # registry: private-docker-registry # username: user # password: pass ## JKS stores of FE, mounted at /opt/starrocks/fe/conf/ssl. A key store turns TLS on; its passwords ## go into your own fe.conf. See "SSL and CA" in the README. ## #ssl: # secretName: existing-starrocks-ssl # trustStoreKey: truststore.jks # keyStoreKey: keystore.jks ## The CA CN verifies FE with, mounted at /opt/starrocks/cn/conf/ca. Requires ssl.keyStoreKey. ## #ca: # secretName: existing-starrocks-ca # certificateKey: ca.crt ## LDAP search of FE (authentication_ldap_simple). The authentication_ldap_simple_* keys go into your own ## fe.conf; the chart only fills the admin account they reference as ${LDAP_BIND_ROOT_DN} and ## ${LDAP_BIND_ROOT_PWD}. A direct bind by the DN on the user or by a DN pattern ## (authentication_ldap_simple_bind_dn_pattern) needs no ldap at all. ## See "LDAP authentication" in the README. ## #ldap: # ## Existing Secret with the admin account of the search, keys bind-root-dn and bind-root-password. # secretName: existing-starrocks-ldap ## Component FE: keeps the cluster metadata. Configuration and credentials come from the existing ## configsSecretName, which is mounted over the conf directory and replaces the whole directory. fe: ## Name of the existing Secret that carries fe.conf. Required. configsSecretName: "fe-conf" (3) ## Number of replicas. replicas: 1 image: registry: "<registry>" repository: "<repository>" tag: "<version>" pullPolicy: "" ## Set container requests and limits for resource like CPU or memory (essential for production workloads). ## Rendered as spec.resources of the component on the Cluster CR. ## resources: {} #limits: # cpu: "4" # memory: "8Gi" #requests: # cpu: "4" # memory: "4Gi" ## Persistent volumes of the component, rendered as a `storageVolumes` list on the Cluster CR in order. ## Every entry needs `name` and `mountPath`. The operator creates one PVC per entry, named after `name`, ## with ReadWriteOnce; `emptyDir` mounts a scratch directory instead of a PVC. ## A `storageSize` starting with `0` drops the volume. ## Conventional values: fe-meta at /opt/starrocks/fe/meta, cn-storage at /opt/starrocks/cn/storage. storageVolumes: (4) - name: fe-meta mountPath: /opt/starrocks/fe/meta storageSize: 10Gi storageClassName: "<yourStorageClassName>" subPath: "" ## Pod-level security context applied to the pod (rendered as spec.fe.spec.podSecurityContext). ## The operator already sets fsGroup 1000 so the mounted Secrets (mode 0440) stay readable; ## fields set here override that default. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ ## podSecurityContext: {} # runAsUser: 1000 # runAsGroup: 1000 # fsGroup: 1000 ## Container-level security context applied to the container (rendered as spec.fe.spec.securityContext). ## The container runs as the starrocks user (uid/gid 1000) with a read-only root filesystem, ## every capability dropped and the RuntimeDefault seccomp profile; fields set here override ## that default, e.g. runAsUser: 0 switches back to root, readOnlyRootFilesystem: false makes ## the installation writable again. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ ## securityContext: {} # runAsNonRoot: true # readOnlyRootFilesystem: true ## Name of an existing ServiceAccount the component pods run as. The chart never creates it. ## Empty leaves the operator without a ServiceAccount, so the pods use the namespace default one. serviceAccount: "" ## terminationGracePeriodSeconds defines duration in seconds the FE pod needs to terminate gracefully. ## the default value is 120 seconds # # terminationGracePeriodSeconds: 120 ## Add annotations to the metadata of the component. annotations: {} ## nodeSelector: Object defining constraints to place pods on a specific set of Nodes. nodeSelector: {} ## Allow a Pod to be scheduled onto nodes that have taints. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## tolerations: [] # - key: "example-key" # operator: "Exists" # effect: "NoSchedule" ## affinity: Object defining soft rules to place pods on a specific set of Nodes. affinity: {} # nodeAffinity: # requiredDuringSchedulingIgnoredDuringExecution: # nodeSelectorTerms: # - matchExpressions: # - key: topology.kubernetes.io/zone # operator: In # values: # - antarctica-east1 ## topologySpreadConstraints for scheduling pods across failure-domains. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/ ## topologySpreadConstraints: [] # - maxSkew: 1 # topologyKey: topology.kubernetes.io/zone # whenUnsatisfiable: DoNotSchedule ## Additional environment variables for the container. With rootPassword the chart adds MYSQL_PWD, ## unless an entry here sets it. envs: [] # - name: JAVA_TOOL_OPTIONS # value: >- # -Djavax.net.ssl.trustStore=/opt/starrocks/fe/conf/ssl/truststore.jks # -Djavax.net.ssl.trustStorePassword=bigdata ## Mount additional secrets into the pod. ## configsSecretName already covers the conf directory, so an entry here must not repeat that ## path. The chart renders the config secret and these entries as the `secrets` of the ## component, the config secret first. Only the subPath option is supported, the same set the ## Cluster CR carries. ## mountSecrets: [] # - name: my-secret # mountPath: /etc/starrocks/my-secret # subPath: "" ## Component CN: computes. Configuration and credentials come from the existing configsSecretName, ## which is mounted over the conf directory and replaces the whole directory. cn: ## Name of the existing Secret that carries cn.conf. Required. configsSecretName: "cn-conf" (5) ## Number of replicas. replicas: 1 ## CN runs from the BE image (the fork ships no separate CN image). ## All three fields are required: an empty one fails the render. image: registry: "<registry>" repository: "<repository>" tag: "<version>" pullPolicy: "" ## Set container requests and limits for resource like CPU or memory (essential for production workloads). ## Rendered as spec.resources of the component on the Cluster CR. ## resources: {} #limits: # cpu: "8" # memory: "8Gi" #requests: # cpu: "4" # memory: "8Gi" ## Persistent volumes of the component, rendered as a `storageVolumes` list on the Cluster CR in order. ## Every entry needs `name` and `mountPath`. The operator creates one PVC per entry, named after `name`, ## with ReadWriteOnce; `emptyDir` mounts a scratch directory instead of a PVC. ## A `storageSize` starting with `0` drops the volume. ## Conventional values: fe-meta at /opt/starrocks/fe/meta, cn-storage at /opt/starrocks/cn/storage. storageVolumes: [] # - name: cn-storage # mountPath: /opt/starrocks/cn/storage # storageSize: 1Ti # storageClassName: "" # subPath: "" ## Pod-level security context applied to the pod (rendered as spec.cn.spec.podSecurityContext). ## The operator already sets fsGroup 1000 so the mounted Secrets (mode 0440) stay readable; ## fields set here override that default. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ ## podSecurityContext: {} # runAsUser: 1000 # runAsGroup: 1000 # fsGroup: 1000 ## Container-level security context applied to the container (rendered as spec.cn.spec.securityContext). ## The container runs as the starrocks user (uid/gid 1000) with a read-only root filesystem, ## every capability dropped and the RuntimeDefault seccomp profile; fields set here override ## that default, e.g. runAsUser: 0 switches back to root, readOnlyRootFilesystem: false makes ## the installation writable again. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ ## securityContext: {} # runAsNonRoot: true # readOnlyRootFilesystem: true ## Name of an existing ServiceAccount the component pods run as. The chart never creates it. ## Empty leaves the operator without a ServiceAccount, so the pods use the namespace default one. serviceAccount: "" ## terminationGracePeriodSeconds defines duration in seconds the CN pod needs to terminate gracefully. ## the default value is 120 seconds # # terminationGracePeriodSeconds: 120 ## Add annotations to the metadata of the component. annotations: {} ## nodeSelector: Object defining constraints to place pods on a specific set of Nodes. nodeSelector: {} ## Allow a Pod to be scheduled onto nodes that have taints. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## tolerations: [] # - key: "example-key" # operator: "Exists" # effect: "NoSchedule" ## affinity: Object defining soft rules to place pods on a specific set of Nodes. affinity: {} # nodeAffinity: # requiredDuringSchedulingIgnoredDuringExecution: # nodeSelectorTerms: # - matchExpressions: # - key: topology.kubernetes.io/zone # operator: In # values: # - antarctica-east1 ## topologySpreadConstraints for scheduling pods across failure-domains. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/ ## topologySpreadConstraints: [] # - maxSkew: 1 # topologyKey: topology.kubernetes.io/zone # whenUnsatisfiable: DoNotSchedule ## Additional environment variables for the container. With rootPassword the chart adds MYSQL_PWD, ## unless an entry here sets it. envs: [] # - name: SSL_CERT_FILE # value: /etc/ssl/outbound/ca-certificates.crt ## Mount additional secrets into the pod. ## configsSecretName already covers the conf directory, so an entry here must not repeat that ## path. The chart renders the config secret and these entries as the `secrets` of the ## component, the config secret first. Only the subPath option is supported, the same set the ## Cluster CR carries. ## mountSecrets: [] # - name: existing-outbound-ca # mountPath: /etc/ssl/outbound/ca-certificates.crt # subPath: ca-certificates.crt1 Secret with a root password for the StarRocks cluster. 2 Secret with ADH configurations. 3 Secret with Frontend (FE) configurations. 4 Creates a persistent storage volume (PersistentVolumeClaim, PVC) for FE metadata and mounts it inside the FE container. The idea is to create a PVC for FE metadata once, and then attach it to FE pods, for example, when an FE pod restarts. If not specified, FE metadata is generated on the FE container startup. 5 Secret with Compute Node (CN) configurations. -
Install the StarRocks cluster:
$ helm upgrade --install starrocks-cluster oci://<registry-address>/ng/charts/starrocks-cluster:<version> -f starrocks-cluster-values.yaml --namespace starrocks-helm --create-namespaceThe result:
Pulled: hub.adsw.io/ng/charts/starrocks-cluster:0.19.0 Digest: sha256:4d830f08aa1a6143df67e4ee3fe893255a8630cc4ae1a85170aa5ef3b905b637 Release "starrocks-cluster" has been upgraded. Happy Helming! NAME: starrocks-cluster LAST DEPLOYED: Fri Nov 20 19:56:09 2026 NAMESPACE: starrocks-helm STATUS: deployed REVISION: 2 DESCRIPTION: Upgrade complete TEST SUITE: None
-
Verify the cluster installation using the commands:
$ kubectl get clusters.starrocks.arenadata.io -n starrocks-helm $ kubectl get pods -n starrocks-helmThe output:
konstantin@ka-starrocks-k8s-demo:~$ kubectl get clusters.starrocks.arenadata.io -n starrocks-helm NAME PHASE FESTATUS BESTATUS CNSTATUS FEPROXYSTATUS starrocks-cluster running running running konstantin@ka-starrocks-k8s-demo:~$ kubectl get pods -n starrocks-helm NAME READY STATUS RESTARTS AGE starrocks-cluster-cn-0 1/1 Running 0 2d1h starrocks-cluster-fe-0 1/1 Running 0 2d1h starrocks-cluster-initpwd-cvtwc 0/1 Completed 0 2d1h
Ensure that the cluster and its pods are in the
Runningstate.
Step 4. Connect to the StarRocks cluster
For external access to the StarRocks cluster, you need to expose the corresponding endpoints using one of the supported publication methods, for example, through a LoadBalancer or Ingress controller. All configurations related to exposing a service, including DNS, annotations, Ingress/LB settings, and other platform-specific settings, must be specified according to your Kubernetes environment.
The following example assumes that a JDBC client (DBeaver) connects to the StarRocks FE container through a LoadBalancer service.
-
Get the external IP address of your LoadBalancer. For example:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE starrocks-lb LoadBalancer 10.***.***.235 10.***.**.101 9030:32483/TCP,8030:31670/TCP 107
Copy the
EXTERNAL-IPaddress for the next steps. -
Connect to the StarRocks cluster over JDBC, for example, using DBeaver. For this, the JDBC connection string looks as follows:
jdbc:mysql://<external-ip>:9030/
where
<external-ip>is the LoadBalancer IP address from the previous step. -
Once connected, verify the StarRocks cluster operability:
SHOW CATALOGS;The output:
Catalog |Type |Comment | ---------------+--------+----------------------------------------------------------------+ default_catalog|Internal|An internal catalog contains this cluster's self-managed tables.|