I have ran kubeadm init on master and also post actions successfully and master looks good.
joined node successfully but getting below error:
[root@reshmi1 ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-26T03:47:41Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[root@reshmi1 ~]# kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[root@reshmi1 ~]#
on master below is o/p
[root@rojavm1 ~]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-76d4774d89-qz6zx 1/1 Running 1 23h
kube-system calico-node-l8hxj 0/1 Running 1 24h
kube-system calico-node-q4pk9 0/1 Running 0 24h
kube-system coredns-66bff467f8-294ph 1/1 Running 1 23h
kube-system coredns-66bff467f8-jv4zr 1/1 Running 1 23h
kube-system etcd-rojavm1 1/1 Running 1 24h
kube-system kube-apiserver-rojavm1 1/1 Running 1 24h
kube-system kube-controller-manager-rojavm1 1/1 Running 9 24h
kube-system kube-proxy-896xp 1/1 Running 0 24h
kube-system kube-proxy-g2qwn 1/1 Running 1 24h
kube-system kube-scheduler-rojavm1 1/1 Running 8 24h
[root@rojavm1 ~]#