Closed ksiailaohuyou closed 4 years ago
是一个机器上部署的还是多台机器?
是一个机器上部署的还是多台机器?
一台windows运行VMware跑三个节点, 桥连接网络,每个节点都有固定的局域网ip
用CRAWLAB_SERVER_REGISTER_TYPE
,设置为ip,CRAWLAB_SERVER_REGISTER_IP
设置为节点ip
感谢🙏 已成功配置
docker run -d --restart always --name crawlab_worker \
-e CRAWLAB_REDIS_ADDRESS=10.2.7.61 \
-e CRAWLAB_MONGO_HOST=10.2.7.61 \
-e CRAWLAB_SERVER_MASTER=N \
-e CRAWLAB_SERVER_REGISTER_TYPE =ip \
-e CRAWLAB_SERVER_REGISTER_IP=10.2.6.62 \
-v /var/logs/crawlab:/var/logs/crawlab \
tikazyq/crawlab:latest
感谢🙏 已成功配置
docker run -d --restart always --name crawlab_worker \ -e CRAWLAB_REDIS_ADDRESS=10.2.7.61 \ -e CRAWLAB_MONGO_HOST=10.2.7.61 \ -e CRAWLAB_SERVER_MASTER=N \ -e CRAWLAB_SERVER_REGISTER_TYPE =ip \ -e CRAWLAB_SERVER_REGISTER_IP=10.2.6.62 \ -v /var/logs/crawlab:/var/logs/crawlab \ tikazyq/crawlab:latest
docker 指令有误,多了个空格,正确指令如下:
docker run -d --restart always --name crawlab_worker \
-e CRAWLAB_REDIS_ADDRESS=10.2.7.61 \
-e CRAWLAB_MONGO_HOST=10.2.7.61 \
-e CRAWLAB_SERVER_MASTER=N \
-e CRAWLAB_SERVER_REGISTER_TYPE=ip \
-e CRAWLAB_SERVER_REGISTER_IP=10.2.6.62 \
-v /var/logs/crawlab:/var/logs/crawlab \
tikazyq/crawlab:latest
Describe the bug 添加work节点不成功,redis只有master的数据,mongo只有一个主节点的信息(master可以正常访问UI界面),worker节点信息打印如下,一直停留于此,但是测试上传一个zip包。worker节点又有信息输出
To Reproduce 1.使用命令添加master
Screenshots