kubernetes fluentd启动不了问题分析

[root@yf-01 kube-yaml]# kubectl logs -n=kube-system fluentd-es-v2.2.0-dtdlm
2018-11-30 09:28:04 +0000 [info]: [elasticsearch] Connection opened to Elasticsearch cluster => {:host=>"10.10.44.165", :port=>9200, :scheme=>"http"}
2018-11-30 09:28:04 +0000 [info]: [elasticsearch] Detected ES 6.x: ES 7.x will only accept `_doc` in type_name.
2018-11-30 09:28:04 +0000 [error]: [journald-kubelet] failed to read data from plugin storage file path="/var/log/journald-kubelet.pos/worker0/storage.json" error_class=Fluent::ConfigError error="Invalid contents (not object) in plugin storage file: '/var/log/journald-kubelet.pos/worker0/storage.json'"
2018-11-30 09:28:04 +0000 [error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="Unexpected error: failed to read data from plugin storage file: '/var/log/journald-kubelet.pos/worker0/storage.json'"

进入到节点机器,执行

rm -rf /var/log/journald-*

转载于:https://my.oschina.net/u/1241604/blog/2964217

你可能感兴趣的:(kubernetes fluentd启动不了问题分析)