kubernetes - 为什么 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)
我错过了什么吗?感谢你的帮助。
干杯,
-阿吉特
解决方案
推荐阅读
- python - 尝试在某些 GIMP Python 插件代码上运行 Sphinx 时出错
- python - Python BigQuery 存储。并行读取多个流
- c# - 使用 Blazor 客户端应用程序实现事件订阅
- kubernetes - 节点池与一个池中的节点数
- java - 覆盖 Eclipse 4 应用程序中的视图
- c++ - 关于模板化函数上传递的右值引用和左值传递参数的歧义
- java - 我有以下错误:android.os.Bundle android.content.Intent.getExtras()' 在空对象引用上
- r - 如何使用 pickerInput 进行 SHIFT 选择
- git - Git: Use two branches with same name from different remotes
- tomcat - tomcat.util.scan.DefaultJarScanner.jarsToSkip 属性不起作用