Hi, I’m trying to run elasticsearch on my Kubernetes cluster but it seems to be not running.
I’m following this tutorial:
kubectl get svc gives me output:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE elasticsearch-cluster ClusterIP None <none> 9300/TCP 63m elasticsearch-loadbalancer LoadBalancer 172.20.89.83 80:32020/TCP 63m
The load balancer has external IP which I’ve not mentioned here.
When I check logs of my elasticsearch container inside pod, it gives me this error:
Head http://elasticsearch:9200: dial tcp: lookup elasticsearch on 169.254.20.10:53: no such host: no Elasticsearch node available
How should I resolve it ?