Kubernetes LoadBalancer 服务是否高可用?
Are Kubernetes LoadBalancer Services Highly Available?
我想在外部公开我的 Kubernetes 部署。我已选择创建类型为 'LoadBalancer' 的 Kubernetes 'Service'。
我可以假设这个负载均衡器是在我的集群之外配置的吗?如果是这样,我的 container/cloud 提供商(在本例中为 Azure)是否有责任为我的 Kubernetes 集群提供 LB?
这会引入单点故障吗?当 LB 发生故障时会发生什么? Azure/Amazon/Google 是否以另一个 'hot' LB 正在等待加入的方式提供 LB?或者当 Azure 为我提供另一个 LB 时,我的应用程序是否可能暂时不可用?
Kubernetes 和 Kubernetes 托管服务之间似乎存在灰色地带。
在 Google 容器引擎的情况下,外部云负载平衡器由 Google 创建和管理。
在这里您可以看到我为已删除的集群设置的负载均衡器示例。
当我添加或删除节点池时,云负载平衡器将自动更新配置。请注意,这与入口控制器不同。您可以在这里阅读更多相关信息:https://cloud.google.com/container-engine/docs/tutorials/http-balancer and https://cloud.google.com/load-balancing/
Does Azure/Amazon/Google provision the LB in a way that another 'hot'
LB is waiting to jump in?
目前,Azure 不支持此功能。 Azure 仅支持一个负载均衡器用于你的可用性集。
在 Azure 中,无法为一个可用性集部署两个 LB。据我所知,Azure 负载均衡器 SLA 与 Azure Vnet 相同,只有当此位置关闭时,LB 才会关闭。
顺便说一句,Azure支持在一个LB中创建多个Vms来提供高SLA,所以我猜LB不会宕机。
但是我还没有找到关于 Azure 负载均衡器 SLA 的任何官方文章。
Does this introduce a single point of failure?
据我所知,我认为这不是单点故障。
我问过我们的 Microsoft 代表这个问题:
This may seem like a silly question, but if I provision an Azure LB
(layer 4) or Gateway (layer 7), can I assume the LB is fault tolerant?
Meaning, if the underlying hardware running that actual LB dies, some
other VM, controlled by Microsoft, will step in and continue handling
traffic. Am I right to assume this? I'm not able to find any
details on how Azure handles this. It's important because my cluster
of Kubernetes nodes should not become unavailable if the Azure LB
craps-out. I don't want single point of failure. Thoughts?
我收到了以下回复:
Yes.
因此,虽然这没有透露任何实施细节,但它确实证实了 LB 是高可用的。
我想在外部公开我的 Kubernetes 部署。我已选择创建类型为 'LoadBalancer' 的 Kubernetes 'Service'。
我可以假设这个负载均衡器是在我的集群之外配置的吗?如果是这样,我的 container/cloud 提供商(在本例中为 Azure)是否有责任为我的 Kubernetes 集群提供 LB?
这会引入单点故障吗?当 LB 发生故障时会发生什么? Azure/Amazon/Google 是否以另一个 'hot' LB 正在等待加入的方式提供 LB?或者当 Azure 为我提供另一个 LB 时,我的应用程序是否可能暂时不可用?
Kubernetes 和 Kubernetes 托管服务之间似乎存在灰色地带。
在 Google 容器引擎的情况下,外部云负载平衡器由 Google 创建和管理。
在这里您可以看到我为已删除的集群设置的负载均衡器示例。
当我添加或删除节点池时,云负载平衡器将自动更新配置。请注意,这与入口控制器不同。您可以在这里阅读更多相关信息:https://cloud.google.com/container-engine/docs/tutorials/http-balancer and https://cloud.google.com/load-balancing/
Does Azure/Amazon/Google provision the LB in a way that another 'hot' LB is waiting to jump in?
目前,Azure 不支持此功能。 Azure 仅支持一个负载均衡器用于你的可用性集。
在 Azure 中,无法为一个可用性集部署两个 LB。据我所知,Azure 负载均衡器 SLA 与 Azure Vnet 相同,只有当此位置关闭时,LB 才会关闭。
顺便说一句,Azure支持在一个LB中创建多个Vms来提供高SLA,所以我猜LB不会宕机。
但是我还没有找到关于 Azure 负载均衡器 SLA 的任何官方文章。
Does this introduce a single point of failure?
据我所知,我认为这不是单点故障。
我问过我们的 Microsoft 代表这个问题:
This may seem like a silly question, but if I provision an Azure LB (layer 4) or Gateway (layer 7), can I assume the LB is fault tolerant? Meaning, if the underlying hardware running that actual LB dies, some other VM, controlled by Microsoft, will step in and continue handling traffic. Am I right to assume this? I'm not able to find any details on how Azure handles this. It's important because my cluster of Kubernetes nodes should not become unavailable if the Azure LB craps-out. I don't want single point of failure. Thoughts?
我收到了以下回复:
Yes.
因此,虽然这没有透露任何实施细节,但它确实证实了 LB 是高可用的。