# ECK - Internal Load Balancer unable to create

**URL:** https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491
**Category:** Elastic Cloud on Kubernetes (ECK)
**Created:** [June 10, 2020, 10:43am UTC](https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491 "2020-06-10T10:43:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aman26ps](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman26ps/32/82604_2.png) [@aman26ps](https://discuss.elastic.co/u/aman26ps)
#### Post date: [June 10, 2020, 10:43am UTC](https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491/1 "2020-06-10T10:43:13Z")

</div>

Hi Team,

I am following the below document to add internal load balancer for routing the traffic from data proc, but i am unable to create one:

please find the config i applied:

```auto
spec:
  http:
    service:
      spec:
        type: LoadBalancer
        annotations: 
              cloud.google.com/load-balancer-type: "Internal"
              networking.gke.io/internal-load-balancer-allow-global-access: "true"

```

elastic operator is not picking up the annotations, can you help me on this

---

<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: [June 10, 2020, 12:36pm UTC](https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491/2 "2020-06-10T12:36:11Z")

</div>

The structure of your service spec is incorrect. Annotations are always part of the `metadata` section of any Kubernetes resource.

See [https://github.com/elastic/cloud-on-k8s/blob/master/config/recipes/gclb/01-elastic-stack.yaml](https://github.com/elastic/cloud-on-k8s/blob/master/config/recipes/gclb/01-elastic-stack.yaml) for an example service section with metadata annotations and labels.

---

<div class="post-metadata">

### Author: ![aman26ps](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman26ps/32/82604_2.png) [@aman26ps](https://discuss.elastic.co/u/aman26ps)
#### Post date: [June 10, 2020, 1:50pm UTC](https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491/3 "2020-06-10T13:50:33Z")

</div>

Hey thanks a lot pebrc, i was putting the annotation at wrong place , following the link fixed the issue

---

<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, 8:01am UTC](https://discuss.elastic.co/t/eck-internal-load-balancer-unable-to-create/236491/4 "2022-11-04T08:01:54Z")

</div>


