<p>I'm deploying a helm chart that consists of a service with three replica containers.   I've been following <a href="https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/" rel="nofollow noreferrer">these directions</a> for exposing a service to an external IP address.</p>

<p>How do I expose a port per container or per pod?  I explicitly do not want to expose a load balancer that maps that port onto some (but any) pod in the service.  The service in question is part of a stateful set, and to clients on the outside it matters which of the three are being contacted, so I can't abstract that away behind a load balancer.</p>

<p>You need to create a new service for every pod in you stateful set. To distinguish pods you need to label them with their names like described <a href="https://github.com/kubernetes/kubernetes/issues/44103#issuecomment-326851272" rel="nofollow noreferrer">here</a><br>
When you have separate services you can use them individually in ingress.</p>
