Hello,
I’m running a standalone rancher server for a POC and I’m trying to create a new k8s environment on the same host. The issue is that 8/9 services appear to be running, but the ingress-controller container is failing. Here’s the output from the container logs:
8/14/2016 1:23:27 PMtime="2016-08-13T18:43:27Z" level=info msg="Starting Rancher LB service"
8/14/2016 1:23:27 PMtime="2016-08-13T18:43:27Z" level=info msg="LB controller: kubernetes"
8/14/2016 1:23:27 PMtime="2016-08-13T18:43:27Z" level=info msg="LB provider: rancher"
8/14/2016 1:23:27 PMtime="2016-08-13T18:43:27Z" level=info msg="starting kubernetes-ingress-controller"
8/14/2016 1:23:27 PMtime="2016-08-13T18:43:27Z" level=info msg="Healthcheck handler is listening on :10241"
8/14/2016 1:23:30 PMtime="2016-08-13T18:43:30Z" level=error msg="Health check failed: unable to reach Kubernetes. Error: &url.Error{Op:\"Get\", URL:\"http://master/apis/extensions/v1beta1/ingresses\", Err:(*net.OpError)(0xc8202c2cd0)}"
8/14/2016 1:23:30 PMtime="2016-08-13T18:43:30Z" level=error msg="Healtcheck failed for LB controller"
Kubernetes. Error: &url.Error{Op:\"Get\", URL:\"http://master/apis/extensions/v1beta1/ingresses\", Err:(*net.OpError)(0xc8202c2cd0)}"
8/14/2016 1:23:30 PMtime="2016-08-13T18:43:30Z" level=error msg="Healtcheck failed for LB controller"
Kubernetes. Error: &url.Error{Op:\"Get\", URL:\"http://master/apis/extensions/v1beta1/ingresses\", Err:(*net.OpError)(0xc8202c2cd0)}"
8/14/2016 1:23:30 PMtime="2016-08-13T18:43:30Z" level=error msg="Healtcheck failed for LB controller"
My host is behind an http proxy but I’ve set no_proxy for this specific host. I’m using docker 1.10.3 and the latest and stable tags of the ranche/server image. Shouldn’t the ingress container be trying to reach http:///apis instead of master? Is “master” some kind of alias?
By searching online I found a suggestion that this might be resource related, but I’ve tried this setup on multiple hosts and haven’t seen any issue with cpu/memory/io congestion.
Thanks