I am using ECK(Elastic Cloud on Kubernetes [2.9]) ...
# all-things-deployment
e
I am using ECK(Elastic Cloud on Kubernetes [2.9]) to set up my datahub’s es backend, anyone knows how to adjust the configuration in official datahub helm chart to make them connected. it seems there should be a username/password but the datahub chart doesn’t have. thansk
1
t
Default username/password is datahub/datahub. After login by using it, you can invite your team member.
e
sorry for my unclear expression. I mean the datahub is using elastic search as its backend. so the datahub needs a credential of elsatic search server to connect to elastic search and use it as storage.
t
Oh i understood. So you should set your username & password in existing your Elastic Search Cloud. See the helm chart link here .
Copy code
{{- with .Values.global.elasticsearch.auth }}
 - name: ELASTICSEARCH_USERNAME
   value: {{ .username }}
 - name: ELASTICSEARCH_PASSWORD
   {{- if .password.value }}
      value: {{ .password.value | quote }}
   {{- else }}
e
thanks for your reply, I know datahub need elastic username to be “datahub/datahub”
t
So you can set values.yaml like
Copy code
global:
  strict_mode: true
  graph_service_impl: elasticsearch
  datahub_analytics_enabled: true
  datahub_standalone_consumers_enabled: false

  elasticsearch:
    host: "elasticsearch-master"
    port: "9200"
    skipcheck: "false"
    auth:
      username: "your_username"
      password: "your_password"
e
thank you, I wonder to know how https/tls works for datahub.
ECK by default makes the elastic cluster to be accessed by https. If the ‘skipcheck’ flag needs to be set as
true
t
i do not know about skipcheck flag. but if you want to connect elastic search with ssl, you can set
useSSL
flag as true.
Copy code
elasticsearch:
    host: "elasticsearch-master"
    port: "9200"
    skipcheck: "false"
    insecure: "false"
    useSSL: "true"