我已经为我的GKE集群部署了使用头盔的elasticsearch 6.5。删除并部署Helm部署后,出现以下错误。
我已经删除了pods服务并重新启动。 PVC没有问题。
错误日志:
[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) ~[?:?]