title: Kubernetes: Nginx Ingress Controller does not boot properly
body: <p>I've been setting up a small kubernetes cluster. I have 3 CentOS VMs, one master and 2 minions. Kubernetes runs in docker containers. I set it up with help of the following 2 articles:</p>
  
  <ul>
  <li><a href="http://kubernetes.io/docs/getting-started-guides/docker-multinode/master/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/docker-multinode/master/</a></li>
  <li><a href="http://kubernetes.io/docs/getting-started-guides/docker-multinode/worker/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/docker-multinode/worker/</a></li>
  </ul>
  
  <p>Now I'm trying to install the nginx ingress controller. I work with github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx on revision 6c87fed (I also tried the tags 0.6.0 and 0.6.3 - same behavior).</p>
  
  <p>I run the following commands according to the README.md from the above link:</p>
  
  <pre><code>kubectl create -f examples/default-backend.yaml
  kubectl expose rc default-http-backend --port=80 --target-port=8080 --name=default-http-backend
  kubectl create -f examples/default/rc-default.yaml
  </code></pre>
  
  <p>Now the pod for the ingress controller comes up properly at first but fails after about 30 seconds or so. The log says</p>
  
  <pre><code>kubectl logs nginx-ingress-controller-ttylt
  I0615 11:21:20.641306       1 main.go:96] Using build: https://github.com/bprashanth/contrib.git - git-afb16a4
  F0615 11:21:50.643748       1 main.go:125] unexpected error getting runtime information: timed out waiting for the condition
  </code></pre>
  
  <p>Sounds like its trying to connect to a nonexistent host or so. Any ideas what I can check or how to fix it?</p>
  
  <p>Regards</p>
  
  <p>Edit: As this seems to be a common problem: I should add that I checked for port 80 and 443 to be available on the nodes.</p>