kubernetes - Istio 导出流量不通过 istio istio-proxy sidecar 路由

标签 kubernetes istio

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

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 中的建议

任何人都可以帮助我们有什么问题吗?

最好的祝福,
福柏格

最佳答案

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

关于kubernetes - Istio 导出流量不通过 istio istio-proxy sidecar 路由,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59268148/

相关文章:

google-cloud-platform - 如何在Replication Controller中使用永久磁盘?谷歌云/kubernetes

azure - 就绪探测失败 : HTTP probe failed with statuscode: 503 in ISTIO

ssl - Istio + Kubernetes : Gateway more than one TLS Certificate

istio - 如何在 'when' 条件下将 kube-secret 映射为 istio 键 : request. header 的值?

kubernetes - 所有 Kubernetes 代理目标都关闭 - Prometheus Operator

docker - Kubernetes - pod 内每个容器一个请求

amazon-web-services - 使用 kops 在 AWS 上的 kubernetes 集群中自定义 SSL 证书,身份验证失败

kubernetes - 谷歌 Kubernetes 引擎 : Enable HTTPS for Service type

kubernetes - istio 的细粒度授权解决方案

安装过程中的 Istio-ingressgateway 自定义