首页 > 解决方案 > Istio 出口流量不通过 istio istio-proxy sidecar 路由

问题描述

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

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

标签: kubernetesistio

解决方案


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


推荐阅读