<p>I have 9 pods running which are basically 9 different applications.</p>

<p>Is it possible to have same k8s service (LB | Public IP) for multiple pods such that I can access them by different ports, but the same IP of service (LB)?</p>

<p>E.g. like so:<br>
LB-IP:80 -- In the backend an application is running, which I can access.<br>
LB-IP:8080 (Same IP as previous) -- I will run another pod in the backend.</p>

<p>**** Selectors will be different for each pod.**</p>

Saurabh
<p>As for the pure service approach, no it is not possible. Service relates to only one selector so you can't.</p>

<p>Now, as you talk about LB here, you might be talking about exposing the thing externally, and for that you can have an Ingress/IngressController. If you want, you can also just deploy a "gateway" service that will do the thing for you (ie. HA proxy configured to expose these different ports you want)</p>

<p>If your environment does not support ingress, you might want to deploy ie. <a href="https://github.com/kubernetes/ingress-nginx" rel="noreferrer">Nginx Ingress Controller</a> which does a great job for the point of entry to your services</p>
