是否可以在 Istio Gateway 上启用带有 TLS(mTLS) 终止的 HTTP/2?然后使用 HTTP/2 将流量转发给应用
最佳答案
是的,这是可能的。您的服务之间的 Http 2 在 ALPN 中协商(在 mTLS 握手期间)。
然后您可以通过设置您的 service port name (protocol selection) 使用 Http 2 将流量从 sidecar 代理转发到您的应用程序容器到 http2
。
您的应用的示例服务:
kind: Service
metadata:
name: myapp
spec:
ports:
- number: 8080
name: http2 # protocol selection by name - important to have http2 here
关于ssl - 是否可以在 Istio 网关上启用带有 TLS 终止的 HTTP/2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63505207/