当我尝试运行logging aggregation时,我发现了elasticsearch生成的以下错误:
[2018-02-04T13:44:04,259][INFO ][o.e.b.BootstrapChecks ] [elasticsearch-logging-0] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max file descriptors [1024] for elasticsearch process is too low, increase to at least [65536]
[2018-02-04T13:44:04,268][INFO ][o.e.n.Node ] [elasticsearch-logging-0] stopping ...
[2018-02-04T13:44:04,486][INFO ][o.e.n.Node ] [elasticsearch-logging-0] stopped
[2018-02-04T13:44:04,486][INFO ][o.e.n.Node ] [elasticsearch-logging-0] closing ...
[2018-02-04T13:44:04,561][INFO ][o.e.n.Node ] [elasticsearch-logging-0] closed
[2018-02-04T13:44:04,564][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started
顺便说一下,我在minions上运行kubernetes集群v1.8.0,在Ubuntu机器16.04上使用cri-containerd在主机上运行1.9.0。
任何帮助将不胜感激。
答案 0 :(得分:0)
通常在您将Elasticsearch作为单个节点运行时会发生
添加以下elasticsearch.yml以消除此问题
discovery.type to single-node
并注释掉您的配置是否具有以下
#cluster.initial_master_nodes: ["node-1", "node-2"]
希望这会有所帮助。