title: Kubernetes setup for docker container - kubectl get minions failing
body: <p>I am setting up Kubernetes with flannel following the instructions from </p>
  
  <p><a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/centos/centos_manual_config.md" rel="nofollow">https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/centos/centos_manual_config.md</a>
  <a href="http://www.severalnines.com/blog/installing-kubernetes-cluster-minions-centos7-manage-pods-services" rel="nofollow">http://www.severalnines.com/blog/installing-kubernetes-cluster-minions-centos7-manage-pods-services</a></p>
  
  <p>I am blocked at the following two steps, and unable to locate troubleshooting steps. I am running this on master node.</p>
  
  <blockquote>
    <p>kubectl get minions
    Error: Get <a href="http://localhost:8080/api/v1beta3/minions" rel="nofollow">http://localhost:8080/api/v1beta3/minions</a>: dial tcp 127.0.0.1:8080: connection refused</p>
  </blockquote>
  
  <p>Is this related to to the flannel network or should it give the minion information on the master node.</p>
  
  <blockquote>
    <p>etcdctl mk /coreos.com/network/config '{"Network":"172.17.0.0/16"}'
    Error:  cannot sync with the cluster using endpoints <a href="http://127.0.0.1:4001" rel="nofollow">http://127.0.0.1:4001</a>, <a href="http://127.0.0.1:2379" rel="nofollow">http://127.0.0.1:2379</a></p>
  </blockquote>
  
  <p>Where is the port 2379 specified and how do I troubleshoot the sync step to work ?</p>