I've been following this guide here Deploy a Kibana instance | Elastic Cloud on Kubernetes [master] | Elastic, and I have also configured the following ingress:
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?