<p>I am fairly new to Kubernetes and I have recently exposed a service using miniKube using <code>NodePort</code> type. I want to test the running of my application but I dont see any external ip but the port only. Here is the output of my:</p>

<pre><code>$kubectl get service
NAME                  CLUSTER-IP   EXTERNAL-IP   PORT(S)          AGE
kubernetes            10.0.0.1     &lt;none&gt;        443/TCP          1h
kubernetes-bootcamp   10.0.0.253   &lt;nodes&gt;       8080:31180/TCP   20m


$kubectl describe services/kubernetes-bootcamp
Name:           kubernetes-bootcamp
Namespace:      default
Labels:         run=kubernetes-bootcamp
Annotations:        &lt;none&gt;
Selector:       run=kubernetes-bootcamp
Type:           NodePort
IP:         10.0.0.253
Port:           &lt;unset&gt; 8080/TCP
NodePort:       &lt;unset&gt; 31180/TCP
Endpoints:      172.17.0.2:8080
Session Affinity:   None
Events:         &lt;none&gt;
</code></pre>

<p>What is the <code>External IP</code> in this case so that I can use <code>curl</code> to get the output of my app exposed, I followed the tutorial while working on my laptop : <a href="https://kubernetes.io/docs/tutorials/kubernetes-basics/expose-interactive/" rel="noreferrer">https://kubernetes.io/docs/tutorials/kubernetes-basics/expose-interactive/</a>.</p>

<p>P.S : What does that <code>&lt;nodes&gt;</code> means in the output of the <code>get service</code> command under <code>External-IP</code>?</p>

<p>As you are using <code>minikube</code>, the command <code>minikube ip</code> will return the IP you are looking for. </p>

<p>In case you are not using <code>minikube</code>, <code>kubectl get nodes -o yaml</code> will show you, amongst other data, the IP address of the node. </p>
