使用应用程序网关入口控制器时是否可以配置 SSL 卸载?
Can SSL offloading be configured when using the Application Gateway Ingress Controller?
我正在使用 Azure Application Gateway Ingress Controller for Kubernetes. I was able to successfully configure the controller to expose my Kubernetes Services over http. However, I would like the Application Gateway to do SSL offload. So that the Application Gateway will handle https requests, and then forward a plain http request to my Kubernetes service. Currently the Ingress Controller documentation for https 要求您为您的 Kubernetes 服务指定证书。
是否可以将入口控制器配置为执行 SSL 卸载,这样我就不必在我的 Kubernetes 服务上配置 https?
我假设 this 是您要查找的文档。
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: guestbook
annotations:
kubernetes.io/ingress.class: azure/application-gateway
spec:
tls:
- secretName: <guestbook-secret-name>
rules:
- http:
paths:
- backend:
serviceName: frontend
servicePort: 80
ps。不知道为什么要将应用程序网关与 k8s 一起使用。它的垃圾。
在入口上使用正确配置的 TLS 证书添加 appgw.ingress.kubernetes.io/ssl-redirect: "true"
注释使我们能够配置应用程序网关以自动将 HTTP URL 重定向到它们的 HTTPS 副本。即它在应用程序网关
上创建 https 和 http 侦听器
我正在使用 Azure Application Gateway Ingress Controller for Kubernetes. I was able to successfully configure the controller to expose my Kubernetes Services over http. However, I would like the Application Gateway to do SSL offload. So that the Application Gateway will handle https requests, and then forward a plain http request to my Kubernetes service. Currently the Ingress Controller documentation for https 要求您为您的 Kubernetes 服务指定证书。
是否可以将入口控制器配置为执行 SSL 卸载,这样我就不必在我的 Kubernetes 服务上配置 https?
我假设 this 是您要查找的文档。
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: guestbook
annotations:
kubernetes.io/ingress.class: azure/application-gateway
spec:
tls:
- secretName: <guestbook-secret-name>
rules:
- http:
paths:
- backend:
serviceName: frontend
servicePort: 80
ps。不知道为什么要将应用程序网关与 k8s 一起使用。它的垃圾。
在入口上使用正确配置的 TLS 证书添加 appgw.ingress.kubernetes.io/ssl-redirect: "true"
注释使我们能够配置应用程序网关以自动将 HTTP URL 重定向到它们的 HTTPS 副本。即它在应用程序网关