我正在Kubernetes集群的一个Pod中尝试使用psql连接到Postgres服务器,该集群具有istio-proxy作为sidecar容器。我在日志中不断收到不正常的上游错误,这使我无法连接到服务器。
如果我在没有istio-proxy Sidecar的Pod中执行相同的操作,则一切正常,并且能够连接到Postgres服务器
[2019-09-19T19:41:01.754Z] "- - -" 0 UH "-" 0 0 0 - "-" "-" "-" "-" "-" - - 13.66.226.202:5432 10.244.38.68:36886 -
[2019-09-19T19:41:06.278Z] "- - -" 0 UH "-" 0 0 0 - "-" "-" "-" "-" "-" - - 13.66.226.202:5432 10.244.38.68:37002 -
[2019-09-19T19:41:07.331Z] "- - -" 0 UH "-" 0 0 0 - "-" "-" "-" "-" "-" - - 13.66.226.202:5432 10.244.38.68:37030 -