<p>I had deploy a tomcat on kubernetes and when I run this command : <code>kubectl describe svc dev-tomcat</code> I have this :</p>
<pre><code>Name:              dev-tomcat
Namespace:         dev
Labels:            &lt;none&gt;
Annotations:       &lt;none&gt;
Selector:          app=dev-tomcat
Type:              ClusterIP
IP:                10.50.54.10
Port:              tomcat  8080/TCP
TargetPort:        8080/TCP
Endpoints:         10.115.122.114:8080
Session Affinity:  None
Events:            &lt;none&gt;
</code></pre>
<p>How can I access to tomcat now ? when I try to run this on my browser nothing appears :</p>
<pre><code>http://10.115.122.114:8080
</code></pre>

rodolf12343
<p>Use <code>IP</code> from the output, try <code>10.50.54.10:8080</code></p>
<p>Update:</p>
<p>for minikube, you need to use <code>NodePort</code></p>
<p>I did following</p>
<pre><code>    kubectl create deployment tomcatinfra --image=saravak/tomcat8
     
    kubectl expose deployment tomcatinfra --port=8080 --target-port=8080 --type NodePort
     
    kubectl get svc

    minikube service tomcatinfra
</code></pre>
