<p>I followed the instructions found here...</p>

<p><a href="https://schoolofdevops.github.io/ultimate-kubernetes-bootcamp/quickdive/" rel="nofollow noreferrer">https://schoolofdevops.github.io/ultimate-kubernetes-bootcamp/quickdive/</a></p>

<p>As you can see, "NodePort" type do not have external-IP like wordpress. Therefore I can not connect.</p>

<pre><code>#  /usr/local/bin/kubectl --kubeconfig="padhaku2.yaml" get service
NAME         TYPE           CLUSTER-IP      EXTERNAL-IP    PORT(S)        AGE
kubernetes   ClusterIP      10.245.0.1      &lt;none&gt;         443/TCP        38m
vote         NodePort       10.245.33.151   &lt;none&gt;         81:31876/TCP   6m20s
wordpress    LoadBalancer   10.245.170.65   139.59.49.69   80:31820/TCP   21m
</code></pre>

<p>How do I publish the app using external IP?</p>

shantanuo
<p>you can access the application using nodeport.</p>

<p>try <a href="http://NODEIP:NODEPORT" rel="nofollow noreferrer">http://NODEIP:NODEPORT</a></p>

<p>in your case, <a href="http://NODEIP:31876" rel="nofollow noreferrer">http://NODEIP:31876</a></p>

<p>follow the steps to update the service type</p>

<pre><code>kubectl delete svc vote
kubectl expose deployment vote --type=LoadBalancer --port 80
</code></pre>

<p>you might need to deploy rest of the voting services</p>

<pre><code>kubectl  run redis  --image=redis:alpine

kubectl expose deployment redis --port 6379


kubectl  run worker --image=schoolofdevops/worker

kubectl  run db --image=postgres:9.4

kubectl expose deployment db --port 5432

kubectl run result --image=schoolofdevops/vote-result

kubectl expose deployment result --type=NodePort --port 80
</code></pre>
