作者:mobiledu2502889253 | 来源:互联网 | 2023-02-05 11:06
Istio支持代理的协议支持代理任何类型的TCP流量,包括HTTP、HTTPS、gRPC及原始TCP(rawtcp)协议但为了提供额外的能力,比如路由和更加丰富的指标,Istio需
Istio支持代理的协议
协议选择
手动指定协议
Service Port应该明确指定使用的协议
命名格式
示例
kind: Service
metadata:
name: myservice
spec:
ports:
- port: 3306
name: database
appProtocol: https
- port: 80
name: http-web
Istio支持的协议类型
![](https://img2.php1.cn/3cdc5/3af5/807/ccff57da7c9ab562.png)
参考文档
https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/