<p>I've got <code>Deployment</code> which has <code>n</code> nodes and I have service that exposes <code>4369</code>. I want to connect to one of those nodes via IEX. I am using <code>MiniKube</code> for my local development <code>Kubernetes</code> cluster which binds to some IP and I <code>can</code> access it's dashboard.</p>

<p>I tried calling <code>minikube service thatServiceName</code>, but after few moments of w8ing it ends work and <code>does not output</code> link that it supposed to give me.</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: erlangpl-demo-mnesia
  labels:
    app: erlangpl-demo-mnesia
spec:
  clusterIP: None
  ports:
    - port: 10000
      targetPort: 10000
      name: disterl-mesh-0
    - port: 4369
      targetPort: 4369
      name: epmd
  selector:
    app: erlangpl-demo-mnesia
  type: ClusterIP
</code></pre>

<p>Could anyone let me know what am I missing or what am I doing wrong?</p>

<p>You can connect to the pod directly:</p>

<pre><code>kubectl exec -it your-pod-name
</code></pre>

<p>it defaults to bash, which I didn't had so I have to do:</p>

<pre><code>kubectl exec -it your-pod-name -- /bin/sh
</code></pre>

<p>I hope that helps.</p>
