在EFK设置中,fluentd突然停止发送到elasticsearch日志中出现以下错误:
2020-09-28 18:48:55 +0000 [warn]: #0 Could not communicate to Elasticsearch, resetting connection and trying again. getaddrinfo: Name or service not known (SocketError)
2020-09-28 18:48:55 +0000 [warn]: #0 Remaining retry: 6. Retry to communicate after 512 second(s).
组件已elasticsearch启动并正在运行,我可以从pod内部curl访问。的日志中没有错误消息。elasticsearchfluentdelasticsearch
重新启动fluentdpod 或elasticsearch组件没有帮助。