每个区域的 Azure kubernetes 服务入口和集群
Azure kubernetes service ingress and clusters per region
我有一个由微服务组成的应用程序,这些微服务已被码头化并部署在西欧的 Azure kubernetes 服务上。
为了访问应用程序,创建了一个 nginx 入口控制器,并将 public 端点映射到自定义域。
例如,public ip x.x.x.x 映射到 Azure DNS 中的域 testwebsite.com。
Ingress 负责到微服务的路由。
如何将此设置转换到多个区域并仍然使用相同的 DNS 名称?
An ingress controller is a piece of software that provides a reverse
proxy, configurable traffic routing, and TLS termination for
Kubernetes services. Kubernetes ingress resources are used to
configure the ingress rules and routes for individual Kubernetes
services.
所以 ingress 不适合您的目的。根据你的描述,我觉得你可以试试Azure Traffic Manager。 Azure Traffic Manager的介绍在这里:
Azure Traffic Manager is a DNS-based traffic load balancer that
enables you to distribute traffic optimally to services across global
Azure regions, while providing high availability and responsiveness.
有了这个介绍,我认为它更适合您的目的。
我有一个由微服务组成的应用程序,这些微服务已被码头化并部署在西欧的 Azure kubernetes 服务上。
为了访问应用程序,创建了一个 nginx 入口控制器,并将 public 端点映射到自定义域。 例如,public ip x.x.x.x 映射到 Azure DNS 中的域 testwebsite.com。 Ingress 负责到微服务的路由。
如何将此设置转换到多个区域并仍然使用相同的 DNS 名称?
An ingress controller is a piece of software that provides a reverse proxy, configurable traffic routing, and TLS termination for Kubernetes services. Kubernetes ingress resources are used to configure the ingress rules and routes for individual Kubernetes services.
所以 ingress 不适合您的目的。根据你的描述,我觉得你可以试试Azure Traffic Manager。 Azure Traffic Manager的介绍在这里:
Azure Traffic Manager is a DNS-based traffic load balancer that enables you to distribute traffic optimally to services across global Azure regions, while providing high availability and responsiveness.
有了这个介绍,我认为它更适合您的目的。