Good day!
I am trying to install Elastic Cloud on Kubernetes (Elastic Cloud on Kubernetes [2.10] | Elastic), and having issue to get Kibana up and running.
Kibana health status is Red:
NAME HEALTH NODES VERSION AGE
quickstart red 7.1.0 41m
Kibana pod never starts:
NAME READY STATUS RESTARTS AGE
quickstart-kibana-5fd9686dff-9t9jd 0/1 Running 0 5s
The following is logged in the Kibana pod:
{"type":"log","@timestamp":"2019-05-27T15:31:12Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: https://quickstart-es.elastic-system.svc.cluster.local:9200/"}
The cluster name/domain name is customized and is NOT cluster.local
Testing name resolution from Elasticsearch pod:
[root@quickstart-es-gs478lqblx elasticsearch]# ping quickstart-es.elastic-system.svc.cluster.local
ping: quickstart-es.elastic-system.svc.cluster.local: Name or service not known
[root@quickstart-es-gs478lqblx elasticsearch]# ping quickstart-es
PING quickstart-es.elastic-system.svc.farting.owl (10.233.4.199) 56(84) bytes of data.
64 bytes from quickstart-es.elastic-system.svc.farting.owl (10.233.4.199): icmp_seq=1 ttl=64 time=0.111 ms
The issue seems to be related to name resolution. I believe the kibana/elasticsearch needs to be deployed with the cluster name/domain name in mind, but I tried to edit the Kibana quickstart resource to match the domain name but even after successful modification its always reverted to cluster.local
spec:
elasticsearch:
auth:
secret:
key: kibana-user
name: quickstart-kibana-user
caCertSecret: quickstart-es-ca
url: https://quickstart-es.elastic-system.svc.cluster.local:9200
I also tried to deploy with the url modified in yaml, but it always results in cluster.local
I may need some help here, thanks in advance!
Henro