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

kubeadm部署高可用案例中api-server连接etcd问题 #66

Open
76439984jc opened this issue Jun 18, 2019 · 4 comments
Open

kubeadm部署高可用案例中api-server连接etcd问题 #66

76439984jc opened this issue Jun 18, 2019 · 4 comments

Comments

@76439984jc
Copy link

我发现如果以kubeadm这样的方式来做高可用的,他每个master上的api-server的pod里面连接etcd的参数都会是 --etcd-servers=https://127.0.0.1:2379而不是etcd上的节点ip地址,这样会不会有问题的,因为当api-server没问题但是本地etc有问题时候那这个master始终会访问不了etcd了。但如果强行把这个改掉或者单独将这个部署成外部etcd的话,那证书不会很难搞呢。

@chhsiao1981
Copy link

This is design choice~

If there is something wrong with the local etcd, it's highly possible that there is some malfunctioning in the machine, and is not recommended to serve as part of the master-node.

@76439984jc
Copy link
Author

This is design choice~

If there is something wrong with the local etcd, it's highly possible that there is some malfunctioning in the machine, and is not recommended to serve as part of the master-node.

但有没有人是部署好以后进行修改的呢,还有现在生产环境上用的二进制部署的比较多还是kubeadm呢?

@chhsiao1981
Copy link

You can check the "external-etcd setting" for kubeadm.
It may fit your requirement:

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/#external-etcd-nodes

@76439984jc
Copy link
Author

You can check the "external-etcd setting" for kubeadm.
It may fit your requirement:

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/#external-etcd-nodes

好的。非常感谢,我也正在看这个配置考虑是否在外部部署etcd

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