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

redis集群最后一步删除临时主节点 #17

Closed
flyfish0087 opened this issue Aug 6, 2018 · 4 comments
Closed

redis集群最后一步删除临时主节点 #17

flyfish0087 opened this issue Aug 6, 2018 · 4 comments

Comments

@flyfish0087
Copy link

通过您的yaml创建的redis集群执行到最后一步,删除了临时主机点,但是不会产生新的主节点,请问这是怎么回事?

@zhuchuangang
Copy link
Owner

仲裁节点需要等待一段时间会从salve节点中会选举出主节点

@flyfish0087
Copy link
Author

flyfish0087 commented Aug 8, 2018

但是很长时间没选举成主节点,这个怎么分析问题?
而且sentienl的日志都是这样:
Could not connect to Redis at -p:6379: Name or service not known
Could not connect to Redis at 10.2.84.117:6379: Connection refused
Connecting to master failed. Waiting..

@zhuchuangang
Copy link
Owner

可以看一下是不是kubernetes集群的网络有问题,主机之间的pod ip或cluster ip不通,所有控制器做了非亲和调度,pod会分布在不同的主机上,如果pod ip或cluster ip不通,redis集群自然起不来。

@flyfish0087
Copy link
Author

后面确实可以了,谢谢博主,你的项目棒棒的^_^

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