# Ingress for Kibana in ECK

**URL:** <https://discuss.elastic.co/t/ingress-for-kibana-in-eck/211163>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [December 9, 2019, 5:10pm UTC](https://discuss.elastic.co/t/ingress-for-kibana-in-eck/211163 "2019-12-09T17:10:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesc.recasens](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@francesc.recasens](https://discuss.elastic.co/u/francesc.recasens)\
**Post date:** [December 9, 2019, 5:10pm UTC](https://discuss.elastic.co/t/ingress-for-kibana-in-eck/211163/1 "2019-12-09T17:10:25Z")

</div>

Good afternoon,

I'm trying to deploy an Elasticsearch cluster (v1.16.3) using ECK on premise. I'm using OpenEBS for StorageClass.

I created a one-node Elasticsearch cluster and also a Kibana, so I can test if it's working or not. When I create the Ingress, I'm always having a HTTP 502 error. I'm using `nginxinc/kubernetes-ingress` and I tried different solutions ([#942](https://github.com/elastic/cloud-on-k8s/issues/942)). It is also identified [here](https://discuss.elastic.co/t/ingress-for-elasticsearch-using-eck/208012) and [here](https://discuss.elastic.co/t/ingress-for-kibana-dashboard-when-using-kubernetes-traefik/198236).

This is the YAML I'm using:

```
apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
metadata:
  name: elastic-lm
spec:
  version: 7.5.0
  nodeSets:
  - name: default
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false

```

* * *

```
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
  name: kibana-lm
spec:
  version: 7.5.0
  http:
    service:
      spec:
        type: ClusterIP
  count: 1
  elasticsearchRef:
    name: elastic-lm

```

* * *

```
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kibana-lm-ingress
  namespace: default
spec:
  tls:
  - hosts:
    - kibana.example.com
  rules:
  - host: kibana.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: kibana-lm-kb-http
          servicePort: 5601

```

Thank you so much,

---

<div class="post-metadata">

**Author:** ![francesc.recasens](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@francesc.recasens](https://discuss.elastic.co/u/francesc.recasens)\
**Post date:** [December 10, 2019, 9:31am UTC](https://discuss.elastic.co/t/ingress-for-kibana-in-eck/211163/2 "2019-12-10T09:31:25Z")

</div>

Fixed with [https://github.com/elastic/cloud-on-k8s/issues/2118](https://github.com/elastic/cloud-on-k8s/issues/2118)

---

<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:36am UTC](https://discuss.elastic.co/t/ingress-for-kibana-in-eck/211163/3 "2022-11-04T07:36:41Z")

</div>


