Home > OS >  How to access specific endpoint of Kubernetes Service
How to access specific endpoint of Kubernetes Service

Time:05-31

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?

CodePudding user response:

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.

  • Related