简体   繁体   English

Kubernetes 管理多个应用程序的 pod 副本之间的流量

[英]Kubernetes manage traffic between pods replicas of several applications

How to manage traffic between pods replicas of several applications?如何管理多个应用程序的 Pod 副本之间的流量? I would like to get the effect for application A and B我想获得应用程序 A 和 B 的效果

under Ax he always sent requests only to Bx and Ay only to By.在 Ax 下,他总是只向 Bx 发送请求,而 Ay 只向 By 发送请求。 And that the platforms Ay and Bx do not communicate with each other.并且平台 Ay 和 Bx 不相互通信。

Thank you in advance for all the answers.预先感谢您的所有答案。

You can do that by using Network policy .您可以通过使用Network policy来做到这一点。

This is also a nice post about network policy.也是一篇关于网络策略的好帖子。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM