Kubespray installs the cluster, but when I login to the master it is not functional


#1

Hello
I’m creating a k8s cluster using kubespray on centos, on openstack, however, I’m not instantiating the nodes using terraform. Just using kubespray to get the inventory that I have and install the K8s on my environment. It is doing a good job in finishing the whole playbooks, whereas when I do a kubectl version from the master node, I always get
this error after a long wait.
Client Version: version.Info{Major:“1”, Minor:“13”, GitVersion:“v1.13.3”, GitCommit:“721bfa751924da8d1680787490c54b9179b1fed0”, GitTreeState:“clean”, BuildDate:“2019-02-01T20:00:57Z”, GoVersion:“go1.11.5”, Compiler:“gc”, Platform:“linux/amd64”}
Unable to connect to the server: proxyconnect tcp: dial tcp: i/o timeout
I have exported KUBECONFIG=~/.kube/config
and restarted the kubelet and docker services, it still doesn’t work. Please let me know what is the best course of action that I can look for here.