当前位置: 首页 > 知识库问答 >
问题:

AKS - 在 Traefik Ingress 前面使用 Azure App Gateway

楚羽
2023-03-14

我有以下情况:

    < li>AKS Kubernetes集群 < li>Traefik入口控制器 < Li > K8s内部部署的一些应用程序使用IngressRoutes来拥有不同的路由

现在,我想在 Traefik 前面有一个 Azure 应用程序网关,它执行 TLS 终止并将每个流量路由到 Traefik 入口控制器。不幸的是,我找不到正确的配置或任何文档来实现它。你们能给我正确的方向吗?

共有1个答案

沈鸿光
2023-03-14

因为两者都执行相同的L7负载平衡/路由/Tls终止。我建议删除traefik,改用应用网关入口控制器。

https://azure.github.io/application-gateway-kubernetes-ingress/

优点:系统中少了一个组件 缺点: 锁定到 Azure,难以移植

如果您仍然想保留两者,这是非常简单的配置,因为您可以将静态ip(或DNS)放入应用程序网关的后端池中。

 类似资料:
  • 我有一个k8s集群在Azure使用AKS预览。 Microsoft.azure.services.appauthentication.azureserviceTokenProviderException:参数:ConnectionString:[未指定连接字符串],资源:https://vault.azure.net,权限:https://login.windows.net/9D93C307-68

  • AKS Engine - Units of Kubernetes on Azure! Project status This project is stable, meaning the pace of new features is intentionally low. AKS Engine is maintained by teams who depend on it including AK

  • Azure Kubernetes Service (AKS) Baseline Cluster This reference implementation demonstrates the recommended starting (baseline) infrastructure architecture for a general purpose AKS cluster. This imple

  • Azure Container Hackfest Delivering modern cloud native applications with ​open source technologies on Azure​ NOTE: We have moved this content over to a new and updated repository https://github.com/A

  • 我正在使用ArCore为Android构建一个简单的导航应用程序(Java)。我开始在Google(https://github.com/google-ar/sceneform-android-sdk/tree/master/samples/hellosceneform)的场景表单演示上构建我的应用程序。 目前,该应用程序正在扫描环境中的锚点。用户可以通过点击锚点将对象放置在锚点上。是否可以使用这

  • 这是我的secret-class.yml文件(keyvault的名称是正确的)。另外,xxx-xxxx-xxx-xxx-xxx-xxx-xxx-xxx-xxx4b5ec83是AKS托管标识(SonarQubeHelm-agentpool)的对象 这是我的deployment.yml文件 我为AKS托管标识分配了正确的权限,以便访问keyvault(XXX-XXXXX-XXX-XXX-XXXX4B5