<p>First, I did some research on google.
Also, I have checked this article: <a href="https://stackoverflow.com/questions/63008870/how-to-access-pod-ip-from-outside">How to access pod IP from outside</a></p>
<p>But I still have a question.</p>
<p>My Setup:</p>
<ul>
<li>My Windows PC (ip/128GB)
<ul>
<li>14 ubuntu servers running on Hyper-V</li>
</ul>
</li>
</ul>
<p>I have 2 &quot;environments&quot;: Dev and Staging.</p>
<p>Dev - I have 1 machine with K8S (Master, but I'm running my pods on it)</p>
<p>STG - 3 machines with k9s - cluster</p>
<p>Now I'm running my simple web app on a dev k8s machine.
I see in the k8s dashboard my pod, with IP: 10.XX.XX.XX.
If I RDP into the machine and open the browser - I can open my web app - everything works well. Nice!</p>
<p>Now, what I want is - to be able to open a browser on my Windows (HOST) machine, put in the URL IP of a pod from DEV (or STG) k8s and to see my web app.</p>
<p>In the article above I see that TA has installed OpenVPN and this solved his issue.</p>
<p>If I do it, can it help me?
(I don`t want to use a proxy, port forward, etc.)</p>
<p>I'm a little bit confused because my VM's using switch and the VM is in the same network with My host, so I'm not sure if I need VPN.</p>
<p>If not - how I can access to pod app by pod Ip from My host?</p>
<p>Thanks</p>
<p>Updated:</p>
<p>Maybe something like Fabio + Consul, or  Ocelot/Kong Gateway can help me with this issue?</p>

Alex
<p>Create a <a href="https://kubernetes.io/docs/concepts/services-networking/service/" rel="nofollow noreferrer">Nodeport or Loadbalancer</a> service for your pod and access your pod from the host machine by &quot;VM ip:port&quot;.</p>
