<p>I installed docker and minikube through <code>Docker for Windows Installer.exe</code>. And this installed Docker Desktop 2.1.0.1.
<a href="https://i.stack.imgur.com/ta9HH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ta9HH.png" alt="enter image description here" /></a></p>
<p>Docker Version -</p>
<pre><code>PS C:\myk8syamls&gt; docker version
Client: Docker Engine - Community
 Version:           19.03.1
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        74b1e89
 Built:             Thu Jul 25 21:17:08 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.1
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.5
  Git commit:       74b1e89
  Built:            Thu Jul 25 21:17:52 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
</code></pre>
<p>k8s version -</p>
<pre><code>PS C:\myk8syamls&gt; kubectl.exe version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;14&quot;, GitVersion:&quot;v1.14.3&quot;, GitCommit:&quot;5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2019-06-06T01:44:30Z&quot;, GoVersion:&quot;go1.12.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;windows/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;14&quot;, GitVersion:&quot;v1.14.3&quot;, GitCommit:&quot;5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2019-06-06T01:36:19Z&quot;, GoVersion:&quot;go1.12.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p><strong>After I have created k8s services, I am not able to access them through my local machine.</strong></p>
<pre><code>PS C:\myk8syamls&gt; kubectl.exe get svc
NAME                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                       AGE
kubernetes            ClusterIP   10.96.0.1       &lt;none&gt;        443/TCP                       101d
nginx-clusterip-svc   ClusterIP   10.96.214.171   &lt;none&gt;        80/TCP                        26m
nginx-nodeport-svc    NodePort    10.101.9.117    &lt;none&gt;        80:30007/TCP,8081:30008/TCP   26m
postgres              NodePort    10.103.103.87   &lt;none&gt;        5432:32345/TCP                101d
</code></pre>
<p>I have tried - accessing nodeport service, <strong>nginx-nodeport-svc</strong> by hitting<br />
10.101.9.117:30007 and 10.101.9.117:80  - did not work</p>
<p>and</p>
<p>I have tried - accessing the clusterip service, <strong>nginx-clusterip-svc</strong> by hitting<br />
10.96.214.171:80                        - did not work</p>
<p><strong>How can I access these service from local machine??</strong> This is quite critical for me to resolve, so any help is greatly appreciated.</p>
<hr />
<p><strong>Edit - following answer from @rriovall</strong><br />
i did this -</p>
<pre><code>kubectl expose deployment nginx-deployment --type=NodePort --name=nginx-nodeport-expose-svc
</code></pre>
<p>and on querying -</p>
<pre><code>PS C:\myk8syamls&gt; kubectl.exe get svc nginx-nodeport-expose-svc
NAME                        TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
nginx-nodeport-expose-svc   NodePort   10.107.212.76   &lt;none&gt;        80:30501/TCP   42s
</code></pre>
<p>Still there is no external IP and accessing <code>http://10.107.212.76:30501/</code> still does not work</p>
<p>or</p>
<pre><code>PS C:\myk8syamls&gt; kubectl.exe get nodes -owide
NAME             STATUS   ROLES    AGE    VERSION   INTERNAL-IP    EXTERNAL-IP   OS-IMAGE         KERNEL-VERSION     CONTAINER-RUNTIME
docker-desktop   Ready    master   102d   v1.14.3   192.168.65.3   &lt;none&gt;        Docker Desktop   4.9.184-linuxkit   docker://19.3.1
</code></pre>
<p>accessing <code>http://192.168.65.3:30501/</code> does not work either.</p>

samshers
<p>You need to expose the nginx cluster as an external service.</p>
<pre><code>$ kubectl expose deployment nginx --port=80 --target-port=80 \
--type=LoadBalancer

service &quot;nginx&quot; exposed
</code></pre>
<p>It may take several minutes to see the value of EXTERNAL_IP.</p>
<p>You can then visit http://EXTERNAL_IP/ to see the server being served through network load balancing.</p>
