在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
访问。的日志中没有错误消息。elasticsearch
fluentd
elasticsearch
重新启动fluentd
pod 或elasticsearch
组件没有帮助。