Kibana http to elasticsearch

Hello
I would like to ask how to configure kibana for connect to the elasticsearch on HTTP not HTTPS.
i have installed ECK on kubernetes and turn off SSL on elasticsearch because I have treafik before ECK and don't need SSL between elastic pods(nodes)
When I am trying deploy Kibana operator yell to me about :"no port named [https] in service [elastic/elasticsearch-quickstart-es-http]
it is true because on elastic/elasticsearch-quickstart-es-http is only HTTP not https.

kibana manifest for operator:

  config:
    elasticsearch:
     hosts:
     - http://elasticsearch-quickstart-es-http.elastic.svc:9200
     username: elastic
     password: <password>
    logging.root.level: trace
    server.basePath: /kibana
    server.publicBaseUrl: https://kibana.<domain>/kibana
    server.rewriteBasePath: true
    server.ssl.enabled: false
    xpack.fleet.agentPolicies:
    - id: eck-fleet-server
      is_default_fleet_server: true
      monitoring_enabled:
      - logs
      - metrics
      name: Fleet Server on ECK policy
      namespace: elastic
      package_policies:
      - id: fleet_server-1
        name: fleet_server-1
        package:
          name: fleet_server
    - id: eck-agent
      is_default: true
      monitoring_enabled:
      - logs
      - metrics
      name: Elastic Agent on ECK policy
      namespace: elastic
      package_policies:
      - id: system-1
        name: system-1
        package:
          name: system
      unenroll_timeout: 900
    xpack.fleet.agents.elasticsearch.hosts:
    - http://elasticsearch-quickstart-es-http.elastic.svc:9200
    xpack.fleet.agents.fleet_server.hosts:
    - http://fleet-server-quickstart-agent-http.elastic.svc:8220
    xpack.fleet.packages:
    - name: system
      version: latest
    - name: elastic_agent
      version: latest
    - name: fleet_server
      version: latest
  count: 1
  elasticsearchRef:
    name: elasticsearch-quickstart
  enterpriseSearchRef: {}
  http:
    service:
      metadata: {}
      spec:
        ports:
        - name: http
          port: 5601
          protocol: TCP
          targetPort: 5601
    tls:
      certificate: {}
  monitoring:
    logs: {}
    metrics: {}
  podTemplate:
    metadata:
      creationTimestamp: null
    spec:
      containers:
      - name: kibana
        ports:
        - containerPort: 5601
          name: http
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /kibana/login
            port: 5601
            scheme: HTTP
        resources:
          limits:
            cpu: "2"
            memory: 2560Mi
          requests:
            cpu: 500m
            memory: 1Gi
  version: 8.5.2

in description of kibana manifest:

Association backend for elasticsearch is not configured

I don't see any possibility how to tell kibana communicate on HTTP not https.
thanks for advise

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