I have deployed elasticsearch 6.5 using helm for my GKE cluster. I am getting the following error after I delete the helm deployment and install it.
I have deleted the pods services and done restart. No issue with PVC.
Error Logs :
[2019-10-18T10:14:10,021][INFO ][o.e.b.BootstrapChecks ] [es-cluster-master-0] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-10-18T10:14:10,224][WARN ][o.e.d.z.UnicastZenPing ] [es-cluster-master-0] failed to resolve host [elasticsearch-master-headless]
java.net.UnknownHostException: elasticsearch-master-headless: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) ~[?:?]
[2019-10-18T10:14:10,021][INFO ][o.e.b.BootstrapChecks ] [es-cluster-master-0] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-10-18T10:14:10,224][WARN ][o.e.d.z.UnicastZenPing ] [es-cluster-master-0] failed to resolve host [elasticsearch-master-headless]
java.net.UnknownHostException: elasticsearch-master-headless: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) ~[?:?]