I am facing 2 issues -
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8a5bda1a9eeb df60c7526a3d "kube-apiserver --ad…" About a minute ago Exited (2) About a minute ago k8s_kube-apiserver_kube-apiserver-master_kube-system_57dfe1d379567718482e0cb4ef4d73f5_56
3918150ccc03 b2756210eeab "etcd --advertise-cl…" 2 minutes ago Exited (1) 2 minutes ago k8s_etcd_etcd-master_kube-system_42123c0a0c165803b9febbee2511e9
I found both the Kube-api server and k8etcd is getting frequently restarted.
root@Master:~# kubectl cluster-info dump
Unable to connect to the server: dial tcp 192.168.56.2:6443: i/o timeout
I am setting it for first time and intended to run it as master server. Please suggest.
OS details - Ubuntu 18.04.3 Docker version - 18.06.3-ce ubectl version Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:23:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Unable to connect to the server: dial tcp 192.168.56.2:6443: i/o timeout