When I'm trying to connect to elasticsearch with the pod dns, I'm getting the response. But using istio dns, 405 error is getting.
http://elasticsearch.namespace.cluster.local/indexname
{
"indexname": {
"aliases": {},
"mappings": {
...
},
"settings": {
"index": {
...
}
}
}
}
https://domainname/elasticsearch/indexname
{
"error": "Incorrect HTTP method for uri [//indexname] and method [GET], allowed: [POST]",
"status": 405
}
Home url is working for both dns http://elasticsearch.namespace.cluster.local
{
"name": "....",
"cluster_name": "....",
"cluster_uuid": "....",
"version": {
....
},
"tagline": "You Know, for Search"
}
https://domainname/elasticsearch/indexname
{
"name": "....",
"cluster_name": "....",
"cluster_uuid": "....",
"version": {
....
},
"tagline": "You Know, for Search"
}