<p>I installed minikube to use kubernetes locally. I was able to create pods and services locally.</p>

<p>However, pods (and containers) running on them, cannot resolve services using service names. </p>

<p>Example: I have redis service running that acts a proxy for redis pods. </p>

<p><code>kubectl get services</code> shows taht redis service has been created.</p>

<p>However, when my web application tries to connect to <code>redis-service</code>, I get connection timeout, because web application (pod) cannot resolve <code>redis-service</code>.</p>

<p>Is there anything special taht needs to be installed to get service resolution working locally.</p>

<p>this is the output of running <code>kubectl get services</code></p>

<pre><code> frontend            10.0.0.250                 80/TCP      3h
 kubernetes          10.0.0.1     &lt;none&gt;        443/TCP     3h
 redis-service       10.0.0.156   &lt;none&gt;        6379/TCP    3h
 rethinkdb-service   10.0.0.89    &lt;none&gt;        28015/TCP   3h






kubectl describe services --namespace=kube-system

Name:                   kube-dns
Namespace:              kube-system
Labels:                 k8s-app=kube-dns,kubernetes.io/name=KubeDNS
Selector:               &lt;none&gt;
Type:                   ClusterIP
IP:                     10.0.0.10
Port:                   dns     53/UDP
Endpoints:              10.0.2.15:53
Port:                   dns-tcp 53/TCP
Endpoints:              10.0.2.15:53
Session Affinity:       None
No events.

Name:                   kubernetes-dashboard
Namespace:              kube-system
Labels:                 app=kubernetes-dashboard,kubernetes.io/cluster-service=true
Selector:               app=kubernetes-dashboard
Type:                   NodePort
IP:                     10.0.0.156
Port:                   &lt;unset&gt; 80/TCP
NodePort:               &lt;unset&gt; 30000/TCP
Endpoints:              172.17.0.2:9090
Session Affinity:       None
No events.
</code></pre>

<p>You need to expose your services as <code>type: NodePort</code> in minikube instead of <code>ClusterIP</code></p>

<p>You can then access them with <code>minikube service &lt;servicename&gt;</code> </p>

<p>(or you can find out which port they were mapped manually to with <code>kubectl get services</code>)</p>
