简体   繁体   English

Kubernetes 中的 Pod 路由

[英]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 ADCISTIO 设计模式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.

相关问题 将 kubernetes 中的流量重新路由到工作 pod - Re-route traffic in kubernetes to a working pod Kubernetes:将传入流量路由到特定 Pod - Kubernetes: Route incoming traffic to specific Pod 在kubernetes中,将服务路由到Pod的请求不再服务于该端口但仍然有效 - in kubernetes, will service route the request to pod no longer serve the port but alive kubernetes服务如何确定路由到哪个后端Pod - how does kubernetes service decide which backend pod to route to 如何通过 Kubernetes 服务(如网关 API)路由到特定 pod - How to Route to specific pod through Kubernetes Service (like a Gateway API) 根据他们访问的数据将多个用户路由到特定的 Kubernetes pod - Route multiple users to a specific Kubernetes pod based on the data they access 为特定 IP 和端口路由 kubernetes pod 传出流量 - route kubernetes pod outgoing traffic for a specific IP and port 是否可以在 Kube.netes 中使用 OpenVPN 和 Nginx 反向代理通过 pod 路由流量? - Is it possible to route traffic through a pod with a OpenVPN and a Nginx reverse proxy in Kubernetes? kubernetes - 将入口流量路由到某些路径的特定 pod - kubernetes - route ingress traffic to specific pod for some paths Kubernetes Pod 到 Pod 通信 - Kubernetes Pod to Pod communication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM