# Ingress for ECK Kibana

**URL:** <https://discuss.elastic.co/t/ingress-for-eck-kibana/281734>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** docker\
**Created:** [August 17, 2021, 6:02pm UTC](https://discuss.elastic.co/t/ingress-for-eck-kibana/281734 "2021-08-17T18:02:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![telapo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/telapo/32/93300_2.png) [@telapo](https://discuss.elastic.co/u/telapo)\
**Post date:** [August 17, 2021, 6:02pm UTC](https://discuss.elastic.co/t/ingress-for-eck-kibana/281734/1 "2021-08-17T18:02:51Z")

</div>

Hi, I have followed the documentation to deploy ECK on Kubernetes (local testing on docker for mac), and everything is working fine, elastic is up and running and Kibana is connected to it. I can port forward it, and I am able to login and query elastic. However, I am really struggling to find an example of an ingress for Kibana. This is one of my attempt:

```auto
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: k-ingress
  annotations:
    kubernetes.io/ingress.class: traefik
spec:
  rules:
    - host: kibana.host.com
      http:
        paths:
          - backend:
              serviceName: kibana-kb-http
              servicePort: 5601
            path: /

```

As you may have seen, I am using Traefik.

Could you help me setup an Ingress, please?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 17, 2021, 6:15pm UTC](https://discuss.elastic.co/t/ingress-for-eck-kibana/281734/2 "2021-08-17T18:15:25Z")

</div>

Here is an example I did with the default GKE perhaps it will help.

> [@Is Kibana supported on GKE through default google ingress ? doesn't seem so](https://discuss.elastic.co/t/is-kibana-supported-on-gke-through-default-google-ingress-doesnt-seem-so/264067/14):
>
> Apologies I have had some other items on my plate. Remember I did this via ECK not Helm, I am an expert in neither, but I did this all very vanilla. So basically following at the steps above here is what I deployed. I did notice sometimes seems like perhaps there is a race condition or something so I deployed the elasticsearch and kibana separate and let it all come up first. Then I applied the the ingress so. kubectl -f es-kb.yml # elasticsearch kibana deploy with ECK apiVersion: elasticse…

---

<div class="post-metadata">

**Author:** ![telapo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/telapo/32/93300_2.png) [@telapo](https://discuss.elastic.co/u/telapo)\
**Post date:** [August 18, 2021, 2:47pm UTC](https://discuss.elastic.co/t/ingress-for-eck-kibana/281734/3 "2021-08-18T14:47:35Z")

</div>

Hi @stephenb, thank you for your reply.

I actually went back to the documentation and found out that it was enough to:

```auto
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: kibana
  labels:
    various...
spec:
  version: 7
  http: # I did not have it before
    service:
      spec:
        type: LoadBalancer
    tls: # I put it in the wrong place before
      selfSignedCertificate:
        disabled: true
  count: 1
  elasticsearchRef:
    name: "elasticsearch"
  podTemplate:
    containers:
      - name: kibana
        resources:
          limits:
            memory: 2Gi
            cpu: 2

```

I could then load Kibana using [http://my-cluster:5601](http://my-cluster:5601). So, the `http`part was key to have Kibana exposed.

---

<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:** [September 15, 2021, 2:47pm UTC](https://discuss.elastic.co/t/ingress-for-eck-kibana/281734/4 "2021-09-15T14:47:40Z")

</div>

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