简体   繁体   English

istio:在启用 sidecar 的 pod 和非启用 sidecar 的 pod 之间路由流量

[英]istio: route traffic between sidecar-enabled pods and non-sidecar-enabled pods

If I enable Istio on some of my apps (but not all of them) using Manual sidecar injection, can I route traffic between non-based-Istio apps and Istio-based apps?如果我使用手动 sidecar 注入在我的一些应用程序(但不是全部)上启用 Istio,我可以在非基于 Istio 的应用程序和基于 Istio 的应用程序之间路由流量吗? If yes, is it still true if I enable Citadel?如果是,如果我启用 Citadel 是否仍然正确? I'm wondering because I'd like to slowly enable the sidecar injection on my apps and migrate over.我想知道,因为我想慢慢地在我的应用程序上启用 sidecar 注入并迁移过来。 Do both Istio-based-apps and non-Istio-based apps still talk to each other (within cluster) via the normal Kubernetes service objects?基于 Istio 的应用程序和非基于 Istio 的应用程序是否仍然通过正常的 Kubernetes 服务对象相互通信(在集群内)? Is there anything else I need to do in order to allow Istio and regular services to talk to each other?我还需要做些什么才能让 Istio 和常规服务相互通信?

I'm new to Istio, so any context is helpful.我是 Istio 的新手,所以任何上下文都有帮助。

To highlight the proper solution to achieve your goal, as @Vadim Eisenberg mentioned:正如@Vadim Eisenberg 提到的,为了突出实现目标的正确解决方案:

You should set PERMISSIVE policy and set a destination rule for each non-istio service with tls mode "NONE".您应该设置 PERMISSIVE 策略并为每个非 istio 服务设置目标规则,tls 模式为“NONE”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 启用 Istio sidecar 后,Rook Ceph pod 无法正常启动 - Rook Ceph pods are not starting properly after Istio sidecar is enabled Istio:HTTPS Pod 之间的流量仅在未注入 sidecar 时有效 - Istio : HTTPS Traffic between Pods working only if sidecar not injected Istio sidecar 让 pod 重新启动 - Istio sidecar have pods restarting 尝试在启用 Sidecar 的 Pod 之间卷曲时,从 Envoy 获取 403 Forbidden - Getting 403 Forbidden from envoy when attempting to curl between sidecar enabled pods Kubernetes pod 中的“Sidecar”容器 - “Sidecar” containers in Kubernetes pods 将 istio sidecar 添加到 Pod 后,AWS Cognito 无法进行身份验证 - AWS Cognito failing to authenticate after adding istio sidecar to pods 在不标记命名空间的情况下自动启用 Istio sidecar 注入 - Enabled Istio sidecar injection automatically without labelling the namespace 无法创建 pod - 调用 webhook “sidecar-injector.istio.io”失败 - can't create pods - failed calling webhook “sidecar-injector.istio.io” Istio 出口流量不通过 istio istio-proxy sidecar 路由 - Istio egress traffic is not routed through istio istio-proxy sidecar Kubernetes cluster-istio proxy sidecar injection 在应用程序中启用了 Liveness 和 Readiness 探测失败 - Liveness and Readiness probes failing in Kubernetes cluster- istio proxy sidecar injection is enabled in application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM