# EKS internal load balancer for kibana

**URL:** https://discuss.elastic.co/t/eks-internal-load-balancer-for-kibana/195955
**Category:** Elastic Cloud on Kubernetes (ECK)
**Created:** [August 20, 2019, 2:17pm UTC](https://discuss.elastic.co/t/eks-internal-load-balancer-for-kibana/195955 "2019-08-20T14:17:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mario-mazo](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mario-mazo](https://discuss.elastic.co/u/mario-mazo)
#### Post date: [August 20, 2019, 2:17pm UTC](https://discuss.elastic.co/t/eks-internal-load-balancer-for-kibana/195955/1 "2019-08-20T14:17:22Z")

</div>

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:](http://service.beta.kubernetes.io/aws-load-balancer-internal:) 0.0.0.0/0**

and so on

thanks

---

<div class="post-metadata">

### Author: ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)
#### Post date: [August 28, 2019, 6:03pm UTC](https://discuss.elastic.co/t/eks-internal-load-balancer-for-kibana/195955/2 "2019-08-28T18:03:33Z")

</div>

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

```auto
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

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 4, 2022, 7:22am UTC](https://discuss.elastic.co/t/eks-internal-load-balancer-for-kibana/195955/3 "2022-11-04T07:22:05Z")

</div>


