<p>We deploy some application in different namespaces with node selectors on different node such as Dev &amp; QA in 1 k8s cluster. Now what issue is, the application deploy in dev node is also accessible using qa ip or qa node name. which shouldn't be, because application expose using node port and running only on dev env.</p>
<p>also if i deploy qa app, it also exposed using dev node name or ip.</p>
<p>for example, let's say i have dev.com node &amp; qa.com node, i deploy app.dev.com on 3000, it should open using dev.com:3000 inside or outside of cluster, but it's also opening using qa.com:3000 which is not correct as peer me.</p>

<p>Use ingress &amp; a LoadBalancer service instead of NodePort, that should fix your issue.</p>
