Cerebro
Cerebro这款工具与Multi Elasticsearch Head类似,也是用来管理ES集群。Cerebro项目地址:https://github.com/lmenezes/cerebro,这个项目也是好久没更新了。
安装过程,如下:
wget https://github.com/lmenezes/cerebro/releases/download/v0.9.4/cerebro-0.9.4.tgz
tar -zxvf cerebro-0.9.4.tgz
cd cerebro-0.9.4
./bin/cerebro >> cerebro.log 2>&1 &
docker-compose.yaml:
#docker-compose.yaml
version: '3'
services:
cerebro:
#服务的名称,可自定义; 不是容器名称
image: registry.cn-hangzhou.aliyuncs.com/bigdata_cloudnative/es_cerebro:0.9.4 # 指定容器的镜像文件
container_name: cerebro # 这是容器的名称
hostname: cerebro
ports:
# 配置容器与宿主机的端口,镜像里默认启动的服务端口是9000
- "1234:1234"
command:
- -Dhttp.port=1234
- -Dhttp.address=0.0.0.0
# 指定 ES 连接地址
- -Dhosts.0.host=http://node-1:9200
networks:
- bigdata
# 连接外部网络
networks:
bigdata:
external: true
通过 docker-compose 快速部署 Elasticsearch-Cerebro 保姆级教程_docker部署cerebro-CSDN博客
6)测试验证
web 地址:http://ip:9000
登录页面,选择配置好的ES地址登录或者填入其它ES地址登录:
安装之后,界面如下:
欢迎来撩 : 汇总all