Curl: (6) Could not resolve host: quickstart-es-http” error

Hi,

I'm trying to follow the article here for deploying Elastic Cloud on Kubernetes:

https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html

But I get an error when requesting ElasticSearch endpoint inside the Kubernetes cluster when I run this command:

curl -u "elastic:$PASSWORD" -k "https://quickstart-es-http:9200"

I get the error:

curl: (6) Could not resolve host: quickstart-es-http”

I noticed that there is no EXTERNAL-IP assigned to the quickstart-es-http service and the type is of ClusterIP.

How do I fix this so I can continue with this quickstart tutorial?

Thanks.

2 Likes

Facing same issue? Any help would greatly appreciated.

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