<p>I have a machine on a local network, that I have exposed to the Internet via port forwarding in the router.</p>
<p>Now how can I expose the serving machine running Kubernetes on docker for mac?</p>
<p>using minikube you can do:</p>
<pre><code>minikube tunnel
</code></pre>
<p>But how to do it on mac for mac/desktop?</p>
<p>Normally the LoadBalancer is created for you if you use a cloud provider.</p>

Chris G.
<p>The command suggested by @Marko is almost correct.</p>
<p>The command:</p>
<pre><code>➜  ~ kubectl port-forward pod/pod-name local_port:pod_port
Forwarding from 127.0.0.1:8080 -&gt; 80
Forwarding from [::1]:8080 -&gt; 80
</code></pre>
<p>opens a port but only locally (on loopback interface/localhost). To make it accessible from the outside you need to pass `--address=0.0.0.0. So the complete command is:</p>
<pre><code>➜  ~ kubectl port-forward pod/pod-name local_port:pod_port --address=0.0.0.0
Forwarding from 0.0.0.0:local_port -&gt; pod_port
</code></pre>
