# Kibana and Azure Application Gateway

**URL:** <https://discuss.elastic.co/t/kibana-and-azure-application-gateway/322731>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [January 9, 2023, 12:05pm UTC](https://discuss.elastic.co/t/kibana-and-azure-application-gateway/322731 "2023-01-09T12:05:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruun963](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bruun963](https://discuss.elastic.co/u/bruun963)\
**Post date:** [January 9, 2023, 12:05pm UTC](https://discuss.elastic.co/t/kibana-and-azure-application-gateway/322731/1 "2023-01-09T12:05:10Z")

</div>

Hi,

First time testing a ECK deployment on Azure Kubernetes Service with the Application Gateway as an ingress controller. But somehow the health probes are unable to connect to the Kibana pod. There's no response.

If I do a test with a port forward, I'm able to login to Kibana. Also, the command 'curl [http://localhost:5601/login](http://localhost:5601/login)' returns information.

For simplicity's sake I've deployed Elastic Search and Kibana with TLS disabled.

The Application Gateway health probe error:  
Time taken by the backend to respond to application gateway's health probe is more than the time-out threshold in the probe configuration. Either increase the time-out threshold in the probe configuration or resolve the backend issues. Note: for default probe, the http timeout is 30s. To learn more visit - [Troubleshoot backend health issues in Azure Application Gateway | Microsoft Learn](https://aka.ms/ProbeTimeOut).

The settings for the health probe:  
Protocol: HTTP  
Port: 5601  
Path: /login  
Interval: 10  
Timeout: 5  
Unhealthy Threshold: 3

I've tested the ingress with another application, and it works. So, the problem is not the AKS or the Application Gateway. Below are the YAML files:

```auto
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: quickstart
spec:
  version: 8.5.3
  nodeSets:
  - name: default
    count: 1
    config:
      node.store.allow_mmap: false
  http:
    tls:
      selfSignedCertificate:
        disabled: true

---

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: quickstart
spec:
  version: 8.5.3
  count: 1
  elasticsearchRef:
    name: quickstart
  http:
    tls:
      selfSignedCertificate:
        disabled: true  

---

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-kibana
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
    appgw.ingress.kubernetes.io/use-private-ip: "true"
spec:
  rules:
    - http:
        paths:
          - pathType: Prefix
            path: "/"
            backend:
              service:
                name: quickstart-kb-http
                port:
                  number: 5601

```

---

<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:** [February 6, 2023, 12:05pm UTC](https://discuss.elastic.co/t/kibana-and-azure-application-gateway/322731/2 "2023-02-06T12:05:18Z")

</div>

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