title: Cannot connect to kubernetes pod from master: i/o timeout
body: <p>I configured kubernetes cluster with one master and one node, the machines that run master and node aren't in the same network. For networking I installed calico and all the pods are running. For testing the cluster I used <a href="https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/" rel="nofollow noreferrer">get shell example</a> and when I run the following command from master machine:</p>
  
  <pre><code>kubectl exec -it shell-demo -- /bin/bash
  </code></pre>
  
  <p>I received the error:</p>
  
  <pre><code>Error from server: error dialing backend: dial tcp 10.138.0.2:10250: i/o timeout
  </code></pre>
  
  <p>The ip 10.138.0.2 is on eth0 interface on the node machine. </p>
  
  <p>What configuration do I need to make to access the pod from master?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>kubectl get all --all-namespaces -o wide output:</p>
  
  <pre><code>default       shell-demo                           1/1       Running   0          10s       192.168.4.2   node-1
  kube-system   calico-node-7wlqw                    2/2       Running   0          49m       10.156.0.2    instance-1
  kube-system   calico-node-lnk6d                    2/2       Running   0          35s       10.132.0.2    node-1
  kube-system   coredns-78fcdf6894-cxgc2             1/1       Running   0          50m       192.168.0.5   instance-1
  kube-system   coredns-78fcdf6894-gwwjp             1/1       Running   0          50m       192.168.0.4   instance-1
  kube-system   etcd-instance-1                      1/1       Running   0          49m       10.156.0.2    instance-1
  kube-system   kube-apiserver-instance-1            1/1       Running   0          49m       10.156.0.2    instance-1
  kube-system   kube-controller-manager-instance-1   1/1       Running   0          49m       10.156.0.2    instance-1
  kube-system   kube-proxy-b64b5                     1/1       Running   0          50m       10.156.0.2    instance-1
  kube-system   kube-proxy-xxkn4                     1/1       Running   0          35s       10.132.0.2    node-1
  kube-system   kube-scheduler-instance-1            1/1       Running   0          49m       10.156.0.2    instance-1
  </code></pre>
  
  <p>Thanks!</p>