Kibana not able to communicate with elasticsearch

Hello !!

I am new to Elastic-search and Kibana and this is the first time i am doing the implementation.
I have configured kibana inside k8s cluster and elasticsearch is hosted on ec-2 instance my elasticsearch is up and running and is showing healthy . Version of Elasticsearch and kibana 7.17.0 ( same version). In kibana pod i am not getting any logs , i have configured config map aswell and added Elasticsearch host in that . I have configured ingress route with DNS entry done .
Request you to please guide me on this ..

Below configuration for reference:-
Elasticsearch output:

{
  "cluster_name" : "pds-dev",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 2,
  "number_of_data_nodes" : 2,
  "active_primary_shards" : 3,
  "active_shards" : 6,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0

 curl -XGET 'http://10.90.40.5:9200/_cat/master'
Na88nnpzRBaXBHXIejbAIw 10.90.40.5 10.90.40.5 10.90.40.5

curl -XGET 'http://10.90.40.5:9200/_cat/nodes'
10.90.47.153  6 33 0 0.00 0.02 0.00 cdfhilmrstw - 10.90.47.153
10.90.40.5   14 38 2 0.02 0.02 0.04 cdfhlmrstw  * 10.90.40.5

Kibana configuration:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kibana-deployment
  namespace: pds-logging
  labels:
    app: kibana
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kibana
  template:
    metadata:
      labels:
        app: kibana
    spec:
      volumes:
      - name: kibana-config-volume
        configMap:
          name: kibana-configmap
      containers:
      - name: kibana
        image: docker.elastic.co/kibana/kibana:7.17.0
        imagePullPolicy: 'Always'
        resources:
          requests:
            cpu: 0.5m
            #memory: 1Gi
          limits:
            cpu: 5m
        volumeMounts:
        - name: kibana-config-volume
          mountPath: /usr/share/kibana/config
        env:
        - name: ELASTICSEARCH_URL
          value: "http://10.90.40.5:9200"
        ports:      
        -  containerPort: 5601
``
apiVersion: v1
kind: ConfigMap
metadata:
  name: kibana-configmap
  namespace: pds-logging
  labels:
    app: kibana
data:
  # kibana.yml is mounted into the Kibana container
  # see https://github.com/elastic/kibana/blob/master/config/kibana.yml
  # Kubernetes Ingress is used to route kibana-nfr2-east.pds.dev.use.torq.dev
  kibana.yml: |
    server.name: kibana-nfr2-east.pds.dev.use.torq.dev
    server.host: "0.0.0.0"
    elasticsearch.url: http://10.90.40.5:9200
    xpack.security.encryptionKey: "false"

What do you mean by this ? Can you share full kibana logs please ?