EKS internal load balancer for kibana

Hello

we are trying to use serviceType LoadBalancer for kibana but it create a public ELB which is not an option for us. How could we add the annotations required

like

service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0

and so on

thanks

The Kibana CRD allows you specify a service template that can contain metadata including annotations to control load balancer behaviour:

apiVersion: kibana.k8s.elastic.co/v1alpha1
kind: Kibana
metadata:
  name: kibana-sample
spec:
  version: 7.3.0
  nodeCount: 1
  elasticsearchRef:
    name: "elasticsearch-sample"
  http:
    service:
      metadata:
        annotations:
          service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
      spec:
        type: LoadBalancer
1 Like