'preview' 入口服务配置
'preview' ingress service configuration
我想知道如何在为每个 jx 预览生成的所有 preview
入口服务定义上添加注释以对其进行配置。
我在 header 转发或 header nginx 剥离时遇到问题。 preview
入口服务后面的服务器没有收到一些 headers 请求。
感谢您的帮助!
Jenkins X 使用名为 exposecontroller 的控制器在部署应用程序时生成入口规则。我们可以向 Kubernetes 服务添加注解,然后 exposecontroller 使用这些注解依次添加到它创建的入口规则中。
您可以将注释列表添加到您的应用程序服务掌舵图中,该列表可以在您的项目的 repo 中找到。 Here's an example from a Jenkins X nodejs quickstart and to see an example of where we list multiple annotations that exposecontroller adds to generated ingress rules you can look at some of Jenkins X own charts
我想知道如何在为每个 jx 预览生成的所有 preview
入口服务定义上添加注释以对其进行配置。
我在 header 转发或 header nginx 剥离时遇到问题。 preview
入口服务后面的服务器没有收到一些 headers 请求。
感谢您的帮助!
Jenkins X 使用名为 exposecontroller 的控制器在部署应用程序时生成入口规则。我们可以向 Kubernetes 服务添加注解,然后 exposecontroller 使用这些注解依次添加到它创建的入口规则中。
您可以将注释列表添加到您的应用程序服务掌舵图中,该列表可以在您的项目的 repo 中找到。 Here's an example from a Jenkins X nodejs quickstart and to see an example of where we list multiple annotations that exposecontroller adds to generated ingress rules you can look at some of Jenkins X own charts