cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1117
Views
0
Helpful
1
Replies

Kubernetes server in Kubernetes/Contiv Sandbox

blahicks
Cisco Employee
Cisco Employee

The Kubernetes/Contiv sandbox has been fantastic.  Today - it appears that kubernetes is not starting successfully.  After logging into the master server, I'm getting the following from kubectl version:

[root@netmaster ~]# kubectl version

Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.4", GitCommit:"7243c69eb523aa4377bce883e7c0dd76b84709a1", GitTreeState:"clean", BuildDate:"2017-03-07T23:53:09Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

The connection to the server localhost:8080 was refused - did you specify the right host or port?

I'm also seeing a lot of errors in the /var/log/messages log -

Jun  1 15:16:34 localhost kubelet: E0601 15:16:34.756091     637 reflector.go:188] pkg/kubelet/kubelet.go:378: Failed to list *api.Service: Get https://10.10.20.1:6443/api/v1/services?resourceVersion=0: dial tcp 10.10.20.1:6443: getsockopt: connection refused

Jun  1 15:16:34 localhost kubelet: E0601 15:16:34.757094     637 reflector.go:188] pkg/kubelet/kubelet.go:386: Failed to list *api.Node: Get https://10.10.20.1:6443/api/v1/nodes?fieldSelector=metadata.name%3Dlocalhost.localdomain&resourceVersion=0: dial tcp 10.10.20.1:6443: getsockopt: connection refused

1 Reply 1

admin11111
Level 4
Level 4

Okay - on the third try today, the kubernetes master node came up and runs well.  Might have to hang onto this reservation for a little while