提问:布和纸怕什么?

求教极限网关的endpoins如何配置多个es节点的ip

Elasticsearch | 作者 caster_QL | 发布于2021年11月25日 | 阅读数:3038

试了以下多种方式,都报错访问不到集群,配置单个的endpoint就没问题
endpoints:
  - https://1.1.1.1:9200
  - https://1.1.1.2:9200
 
endpoints:
https://1.1.1.1:9200
https://1.1.1.2:9200
 
endpoints:
 - endpoint: https://1.1.1.1:9200
 - endpoint: https://1.1.1.2:9200
 
endpoints: https://1.1.1.1:9200,https://1.1.1.2:9200
 
已邀请:

zqc0512 - andy zhou

赞同来自:

elasticsearch:
- name: ESTEST
  enabled: true
  endpoints: 
   - https://XXX1:9200
   - https://XXX2:9200
   - https://XX3:9200
复制上面的修改,这个是轮询的(开始掉一个),还需要改进下。后面正常了

要回复问题请先登录注册