Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问按照官方的docker方式部署集群在多机器节点上,master和ps,router之间访问不通? #734

Open
StellaYuhao opened this issue Sep 5, 2023 · 6 comments

Comments

@StellaYuhao
Copy link

有没有微信群之内的可以咨询? 集群方式docker部署多节点,貌似有问题,不知道是漏了什么参数没有

@zcdb
Copy link
Member

zcdb commented Sep 5, 2023

多节点机器之间网络互通吗?看看实例都起来了吗?

@StellaYuhao
Copy link
Author

网络是通的,ping都没问题,实例也都起来了

@StellaYuhao
Copy link
Author

用health查看状态,当我在ps实例机器上,docker 启动的时候把network 改为host ,ps可以注册成功,不然默认的网络模式,ps似乎注册不成功 ,但是router 用同样的host参数,health查不到注册的信息,用命令访问router,报etcd context deadline错误

@StellaYuhao
Copy link
Author

StellaYuhao commented Sep 6, 2023

ps启动日志
这是ps节点的启动日志

@StellaYuhao
Copy link
Author

router启动日志
这是router节点的启动日志

@zcdb
Copy link
Member

zcdb commented Sep 7, 2023

看一下master节点的状态呢,router节点和ps节点都会去跟master节点注册信息的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants