[英]Pod route in Kubernetes
Is there any possibility to create a service which is able to route traffic to selected pod(not pod group).是否有可能创建能够将流量路由到选定 pod(而不是 pod 组)的服务。
Example: myservice.whatever:1000/podNameAppName to route to custom pod?示例:myservice.whatever:1000/podNameAppName 路由到自定义 pod?
As mentioned by Alassane Ndiaye for internal routing.正如Alassane Ndiaye提到的内部路由。 In addition if this question is related to the external requests you should create more advanced application design.
此外,如果这个问题与外部请求有关,您应该创建更高级的应用程序设计。
Please take a look for ADC concept like NGINX ADC , ISTIO Design Pattern and ADC overview .请查看 ADC 概念,例如NGINX ADC 、 ISTIO 设计模式和ADC 概述。
Basically this task should be implemented at higher level using all benefits from L7 loadbalncing support.基本上,应该使用 L7 负载平衡支持的所有好处在更高级别上实施此任务。
Please take a look also for K8s concepts请同时查看 K8s概念
Hope this help.希望这有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.