I am deploying StarRocks FE and BE pods in my EKS ...
# questions-and-troubleshooting
r
I am deploying StarRocks FE and BE pods in my EKS cluster using the Helm chart. After setting the service type to LoadBalancer, Kubernetes automatically created an AWS Classic Load Balancer. Is this the default behavior for StarRocks services? How can I configure it to use an NLB or ALB instead? This is my-values.yaml:
Copy code
metrics:
  serviceMonitor:
    # Whether to expose metrics to Prometheus by ServiceMonitor.
    # Note: make sure the prometheus operator is installed in your cluster.
    # If prometheus is not installed by operator, you can add annotations on k8s service to expose metrics.
    # See <https://github.com/StarRocks/starrocks-kubernetes-operator/blob/main/doc/integration/integration-prometheus-grafana.md#51-turn-on-the-prometheus-metrics-scrape-by-adding-annotations> for more details.
    enabled: true
starrocksCluster:
  # the namespace of starrockscluster cluster, if not set, the release namespace will be used.
  namespace: "dockprivileged"
  # specify the BE/CN deployment or not.
  enabledBe: true
  enabledCn: false
initPassword:
  enabled: true
  passwordSecret: starrocks-root-pass
starrocksFeProxySpec:
  enabled: true
  service:
      type: LoadBalancer
starrocksFESpec:
  service:
    type: LoadBalancer
    ports:
      - name: query
        port: 9030
      - name: http
        port: 8030
  # number of replicas to deploy for a FE statefulset.
  replicas: 1
  image:
    # image sliced by "repository:tag"
    repository: starrocks/fe-ubuntu
    tag: ""
  imagePullPolicy: IfNotPresent
  resources:
    requests:
      cpu: 1
      memory: 2Gi
    # If you want to remove one resource limit, e.g., cpu, you can set it to cpu: "unlimited".
    limits:
      cpu: 1
      memory: 2Gi

starrocksBeSpec:
  # number of replicas to deploy for a BE statefulset.
  replicas: 1
  image:
    # image sliced by "repository:tag"
    repository: starrocks/be-ubuntu
    tag: ""
  imagePullPolicy: IfNotPresent
  resources:
    requests:
      cpu: 1
      memory: 2Gi
    # If you want to remove one resource limit, e.g., cpu, you can set it to cpu: "unlimited".
    limits:
      cpu: 1
      memory: 2Gi

starrocksCnSpec:
  # number of replicas to deploy for a BE statefulset.
  replicas: 1
  image:
    # image sliced by "repository:tag"
    repository: starrocks/cn-ubuntu
    tag: ""
  imagePullPolicy: IfNotPresent
  resources:
    requests:
      cpu: 1
      memory: 2Gi
    # If you want to remove one resource limit, e.g., cpu, you can set it to cpu: "unlimited".
    limits:
      cpu: 1
      memory: 2Gi
a
In my case, my cluster has ALB Controller, so I set up annotation for NLB
👍 1