title: Unable to expose Kubernetes service on Bare Metal "Localhost"
body: <p>I am new to Kubernetes and have a basic question.  I installed the Canonical Distribution of Kubernetes on a bare metal Ubuntu "Localhost" setup with LXD.  </p>
  
  <p>I am able to run a simple deployment/service for a NGINX cluster.  However, I am confused as to how I can actually expose it externally using my server hostip.</p>
  
  <p>For instance:</p>
  
  <pre><code>kubectl run my-nginx --image=nginx --replicas=3 --port=80
  kubectl expose deployment my-nginx --type=NodePort
  kubectl describe services my-nginx --&gt; Shows NodePort as 31198
  </code></pre>
  
  <p>I can successfully run a CURL to any of the Worker Nodes:</p>
  
  <pre><code>curl 10.112.134.139:31198
  curl 10.112.134.41:31198
  </code></pre>
  
  <p>However, my hostip is 192.168.X.Y.  How can I actually expose this so I can access using the HOSTIP?</p>