简体   繁体   English

kubernetes。 选择领导者主节点的优先级

[英]kubernetes. Priorities selecting the leader master node

I have a kubernetes cluster with three master nodes acting in active/passive mode. 我有一个Kubernetes集群,其中有三个以主动/被动模式运行的主节点。 One of them is in a separate location with bigger latency and more prone to have network problems. 其中之一位于单独的位置,等待时间更长,并且更容易出现网络问题。

I'm looking for being able to set priorities about what master node must be the leader if possible. 我正在寻找能够设置优先级的主节点(如果可能)。

Does exist this configuration? 是否存在此配置? Thank you. 谢谢。

You cannot change prioritize of master nodes in election. 您无法更改选举中主节点的优先级。 Here is a current implementation . 这是当前的实现

If you have a separate location with bigger latency, maybe it will be better to create two clusters and use them in Federaion ? 如果您有一个单独的位置且延迟较大,那么最好创建两个群集并在Federaion中使用它们?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM