It seems your Kubernetes master is pointed to a wrong URL.
Have you set KUBERNETES_MASTER environment variable correctly ?

On Tue, Dec 8, 2015 at 6:36 AM, Nanduni Nimalsiri <[email protected]> wrote:

> Hi,
>
> I am trying to deploy the petstore sample of WSO2/product-mss[1] in Ubuntu
> 14.04 LTS.
>
> [1] https://github.com/wso2/product-mss/tree/master/samples/petstore
>
> Instead of using vagrant to run Kubernetes, I am executing the sample by 
> *running
> Kubernetes locally via Docker*. After executing the run.sh file, the
> services and pods are deployed successfully. But the *kube2sky's log
> displays the following error.* It seems that configurations in the
> *dns-controller.yaml* have caused the error. The corresponding file is
> attached herewith.
>
> $:~/product-mss/samples/petstore/deployment$ kubectl logs kube-dns-c41u3
> -c kube2sky --namespace=kube-system
> I1207 10:06:51.295341       1 kube2sky.go:383] [Attempt: 1] Attempting
> access to etcd after 5 second sleep
> I1207 10:06:56.296629       1 kube2sky.go:389] Etcd server found:
> http://127.0.0.1:4001
> I1207 10:06:57.299334       1 kube2sky.go:455] Using http://10.0.0.1:8080
> for kubernetes master
> I1207 10:06:57.299362       1 kube2sky.go:456] Using kubernetes API v1
> E1207 10:07:27.300207       1 reflector.go:136] Failed to list
> *api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:07:27.300451       1 reflector.go:136] Failed to list
> *api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:07:58.300908       1 reflector.go:136] Failed to list
> *api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:07:58.301040       1 reflector.go:136] Failed to list
> *api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:08:29.301463       1 reflector.go:136] Failed to list
> *api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:08:29.301815       1 reflector.go:136] Failed to list
> *api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:09:00.302064       1 reflector.go:136] Failed to list
> *api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:09:00.302243       1 reflector.go:136] Failed to list
> *api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
> 10.0.0.1:8080: i/o timeout
> E1207 10:09:31.302670       1 reflector.go:136] Failed to list
> *api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
> 10.0.0.1:8080: i/o timeout
>
>
> What could be done to resolve this issue? Any help is greatly appreciated.
>
> Thank you.
>
> Nanduni Nimalsiri
> Software Engineering Intern, WSO2 Inc. (http://wso2.com)
> email : [email protected]
> blog : http://nanduni.blogspot.com/
> mobile : +94714114256
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com <http://wso2.com>*
*Mobile: 0772269575*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to