进入特使(istio代理):
kubectl exec -it my-pod -c proxy bash
查看特使配置:
cat /etc/envoy/envoy-rev2.json
"address": "tcp://10.35.251.188:6379",
"filters": [
{
"type": "read",
"name": "tcp_proxy",
"config": {
"stat_prefix": "tcp",
"route_config": {
"routes": [
{
"cluster": "out.cd7acf6fcf8d36f0f3bbf6d5cccfdb5da1d1820c",
"destination_ip_list": [
"10.35.251.188/32"
]
}
]
}
}
在您的情况下,添加
http
port name
(Kubernetes部署文件),生成
http_connection_manager
看见
istio docs
:
底线是,只需删除
端口名称
形成Redis服务,解决问题:)