Changing to Service type of LoadBalancer from ClusterIP on ECK Operator Breaks

I went through the quickstart and successfully deployed elasticsearch and kibana on EKS using the ECK operator. I then followed the directions in the docs to allow public access.

However, the ECK Operator keeps throwing the error below. Why is it doing this?

{
  "log.level": "error",
  "@timestamp": "2023-08-21T15:11:07.415Z",
  "log.logger": "manager.eck-operator",
  "message": "Reconciler error",
  "service.version": "2.9.0+f24ccc37",
  "service.type": "eck",
  "ecs.version": "1.4.0",
  "controller": "elasticsearch-controller",
  "object": {
    "name": "quickstart",
    "namespace": "default"
  },
  "namespace": "default",
  "name": "quickstart",
  "reconcileID": "f830060f-bbcb-409d-b6b6-b288a60c4cc1",
  "error": "Service \"quickstart-es-http\" is invalid: spec.loadBalancerClass: Invalid value: \"null\": may not change once set",
  "errorCauses": [
    {
      "error": "Service \"quickstart-es-http\" is invalid: spec.loadBalancerClass: Invalid value: \"null\": may not change once set"
    }
  ],
  "error.stack_trace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226"
}

Turns out I could not have the aws-load-balancer-controller operator installed - once I uninstalled that, it worked.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.