本文主要是介绍Kubernetes部署ELKat least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_mast,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1、ES启动报错
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/my-es.log
解决方法:
在elasticsearch.yml 中添加:
discovery.seed_hosts: ["127.0.0.1", "[::1]"]
cluster.initial_master_nodes: ["node-1"]
然后重新启动elasticsearch,可以发现已经成功启动了:
这篇关于Kubernetes部署ELKat least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_mast的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!