# Ingress configuration to access Kibana from the internet

**URL:** <https://discuss.elastic.co/t/ingress-configuration-to-access-kibana-from-the-internet/328406>\
**Category:** Kibana\
**Created:** [March 24, 2023, 1:39am UTC](https://discuss.elastic.co/t/ingress-configuration-to-access-kibana-from-the-internet/328406 "2023-03-24T01:39:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arazmi](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@arazmi](https://discuss.elastic.co/u/arazmi)\
**Post date:** [March 24, 2023, 1:39am UTC](https://discuss.elastic.co/t/ingress-configuration-to-access-kibana-from-the-internet/328406/1 "2023-03-24T01:39:53Z")

</div>

I've been following this guide here [Deploy a Kibana instance | Elastic Cloud on Kubernetes [master] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-deploy-kibana.html), and I have also configured the following ingress:

```auto
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kibana-ui
  annotations:
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/use-regex: "true"
    nginx.ingress.kubernetes.io/rewrite-target: "false"
spec:
  ingressClassName: nginx
  rules:
  - http:
      paths:
      - path: /kibana
        pathType: Prefix
        backend:
          service:
            name: quickstart-kb-http
            port:
              number: 5601

```

The port forwarding worked just fine But with this ingress, I get a 502 page. How can i fix this?

---

<div class="post-metadata">

**Author:** ![arazmi](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@arazmi](https://discuss.elastic.co/u/arazmi)\
**Post date:** [March 27, 2023, 6:33am UTC](https://discuss.elastic.co/t/ingress-configuration-to-access-kibana-from-the-internet/328406/2 "2023-03-27T06:33:48Z")

</div>

We got it working.  
But it seems the community here is not so responsive.

---

<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:** [April 24, 2023, 6:34am UTC](https://discuss.elastic.co/t/ingress-configuration-to-access-kibana-from-the-internet/328406/3 "2023-04-24T06:34:40Z")

</div>

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