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

云上环境不支持VIP,针对SLB要怎样部署HA? #15

Closed
zhaiyuzhen opened this issue Nov 23, 2020 · 4 comments
Closed

云上环境不支持VIP,针对SLB要怎样部署HA? #15

zhaiyuzhen opened this issue Nov 23, 2020 · 4 comments

Comments

@zhaiyuzhen
Copy link

zhaiyuzhen commented Nov 23, 2020

看过 https://zhangguanzhang.github.io/2019/03/11/k8s-ha/ ,但是没得要领。

@zhangguanzhang
Copy link
Owner

可以local proxy

@zhaiyuzhen
Copy link
Author

可以local proxy

针对这个ansible部署脚本,需要怎样修改?

@zhangguanzhang
Copy link
Owner

你在每个node上起个haproxy就行了,可以实体服务,也可以staticPod,然后每个访问apiserver的vip改成127.0.0.1

@zhaiyuzhen
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