【问题标题】:Istio egress traffic is not routed through istio istio-proxy sidecarIstio 出口流量不通过 istio istio-proxy sidecar 路由
【发布时间】:2020-04-03 16:39:23
【问题描述】:

我们有一个将出口流量路由到服务网格之外的外部服务的最小示例。

apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: nexus-test
  namespace: REDACTED
spec:
  hosts:
  - nexus.REDACTED
  ports:
  - number: 443
    name: https
    protocol: HTTPS
  resolution: DNS
  location: MESH_EXTERNAL

但是我们没有看到使用命令通过 sidecar istio-proxy 的流量

kubectl logs $SOURCE_POD -c istio-proxy | tail

此外,使用以下命令我们没有看到混音器上的流量:

kubectl -n istio-system logs -l istio-mixer-type=telemetry -c mixer | grep 'nexus'

按照文档https://istio.io/docs/tasks/traffic-management/egress/egress-control/#access-an-external-https-service中的建议

谁能帮助我们解决问题?

最好的问候, rforberger

【问题讨论】:

  • 我在出口网关日志中看到以下内容:[debug][init] [external/envoy/source/common/init/manager_impl.cc:45] init manager Cluster outbound|443||nexus.REDACTED contains no targets 在试验中:RejectedTCP=nexus.REDACTED

标签: kubernetes istio


【解决方案1】:

现在可以了。它可能与服务网格中的其他服务发生冲突。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-01-18
    • 2023-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多