<p>I'm testing the latest version of the Elastic Stack (7.2.0) and i can't seem to connect Kibana to Elasticsearch, but when i rollback to 6.8.1 it works. Any ideas ?</p>

<hr>

<h2>Kibana Deploy &amp; Service</h2>

<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: kibana
  namespace: *************
  labels:
    component: kibana
spec:
  replicas: 1
  selector:
    matchLabels:
      component: kibana
  template:
    metadata:
      labels:
        component: kibana
    spec:
      containers:
      - name: kibana
        image: docker.elastic.co/kibana/kibana:7.2.0
        resources:
          limits:
            cpu: 1000m
          requests:
            cpu: 100m
        env:
          - name: ELASTICSEARCH_URL
            value: http://elastic.****************:80
        ports:
        - containerPort: 5601
          name: kibana
          protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
  name: kibana
  namespace: *************
  labels:
    component: kibana
spec:
  selector:
    component: kibana
  ports:
  - port: 80
    protocol: "TCP"
    name: "http"
    targetPort: 5601
</code></pre>

<hr>

<p>I am using an ingress but Kibana comlpetely ignores the ELASTICSEARCH_URL value when i try to deploy the 7.2.0 but it works when i rollback to the 6.8.1. I don't know if this methode is no longer supported on the 7.2.0, i've been all over trying to find some documentation but no luck.</p>

user11765676
<p>As of Kibana 7.0 <code>elasticsearch.url</code> is no longer valid and it is now <code>elasticsearch.hosts</code>: <a href="https://www.elastic.co/guide/en/kibana/7.x/breaking-changes-7.0.html#_literal_elasticsearch_url_literal_is_no_longer_valid" rel="nofollow noreferrer">https://www.elastic.co/guide/en/kibana/7.x/breaking-changes-7.0.html#_literal_elasticsearch_url_literal_is_no_longer_valid</a>.</p>

<p>The environment variables translate to these settings names. In this case, the new environment variable would be <code>ELASTICSEARCH_HOSTS</code>. See the example at <a href="https://www.elastic.co/guide/en/kibana/7.2/docker.html" rel="nofollow noreferrer">https://www.elastic.co/guide/en/kibana/7.2/docker.html</a>.</p>
