title: Exposing webserver in minikube to the internet
body: <p>I am trying to expose service to the internet from minikube cluster.</p>
  <p>I have installed the minikube using docker on server with address <code>192.168.1.110</code> and the cluster installed itself with <code>192.168.49.2</code> address. However I want to use address ending with 110 for outside world.</p>
  <p>When I deploy deployment and then service</p>
  <pre><code>xxx:~$ kubectl get services
  NAME         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE
  kubernetes   ClusterIP   10.96.0.1        &lt;none&gt;        443/TCP        3d4h
  webserver    NodePort    10.106.223.172   &lt;none&gt;        80:32087/TCP   9m54s
  xxx:~$ kubectl get deployments
  NAME        READY   UP-TO-DATE   AVAILABLE   AGE
  webserver   3/3     3            3           4h42m
  </code></pre>
  <p>and then write <code>kubectl port-forward services/webserver 8090:80</code></p>
  <p>I can finally access it on <code>192.168.1.110:8090</code>.</p>
  <p>Is there any other way for me to deploy the web server to desired address without manually forwarding the port each time ? I want to set it out as production solution so this is not acceptable.</p>