首页 > 解决方案 > 为什么 Istio Passthrough 示例没有按预期工作?

问题描述

我尝试了https://istio.io/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/中的直通示例,但它似乎不起作用。我收到以下日志的 404:-

2020-01-29T17:21:12.551246Z info    accesslog.instance.istio-system {"apiClaims": "", "apiKey": "", "clientTraceId": "", "connection_security_policy": "unknown", "destinationApp": "", "destinationIp": "0.0.0.0", "destinationName": "unknown", "destinationNamespace": "default", "destinationOwner": "unknown", "destinationPrincipal": "", "destinationServiceHost": "nginx.foo.bar.us", "destinationWorkload": "unknown", "grpcMessage": "", "grpcStatus": "", "httpAuthority": "nginx.foo.bar.us", "latency": "146.827µs", "method": "GET", "permissiveResponseCode": "none", "permissiveResponsePolicyID": "none", "protocol": "http", "receivedBytes": 243, "referer": "", "reporter": "source", "requestId": "dd1b7b2b-10b1-9c36-ae64-cce9825773d2", "requestSize": 0, "requestedServerName": "", "responseCode": 404, "responseFlags": "NR", "responseSize": 0, "responseTimestamp": "2020-01-29T17:21:12.551334Z", "sentBytes": 60, "sourceApp": "istio-ingressgateway", "sourceIp": "100.108.31.87", "sourceName": "istio-ingressgateway-5b794cc7c9-82z4h", "sourceNamespace": "istio-system", "sourceOwner": "kubernetes://apis/apps/v1/namespaces/istio-system/deployments/istio-ingressgateway", "sourcePrincipal": "", "sourceWorkload": "istio-ingressgateway", "url": "/", "userAgent": "curl/7.64.1", "xForwardedFor": "192.
168.0.1,172.31.0.156"}

我在 Kubernetes 1.15.8 上部署了 Istio,版本如下:-

❯ istioctl version
client version: 1.4.0
control plane version: 1.4.0
data plane version: 1.4.0 (5 proxies)

我错过了什么吗?感谢你的帮助。

干杯,

-阿吉特

标签: kubernetesistio

解决方案


推荐阅读