如何访问Kubernetes服务的特定端点
在Kubernetes中,为了访问POD或复制POD,我们使用服务。因此,在特定的服务下,有许多具有相同标签的豆荚。我正在寻找的内容如下:
如果我想将请求发送到服务的特定吊舱中,那有什么方法吗?
In Kubernetes in order to access a pod or a replicated pod we use a service. So under a specific service there are a number of pods with the same label. What i am looking for is the following:
If i want to send a request into a specific pod of the service, is any way to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为,服务的目的是能够使用任何一个POD。如果要连接到特定的POD,则应该为要独立连接到的每个POD都有不同的服务。
I believe that the purpose of the service to to be able to use either pod. If you want to connect to a specific pod, you should have a different service for each pod you want to connect to independently.