I have installed Kubernetes cluster in my local system ( 3 nodes --> 1Master, . . .

Niraj Samal:
I have installed Kubernetes cluster in my local system ( 3 nodes –> 1Master, 2 Controllers — using vagrantfile ). Also I have done initial installation ( kubeadm way) . Now when I start the VMS again after laptop reboot, commands are not working. I forgot if I need to enable any service at runlevel . Any quick help , how to start my Kubernetes cluster now ?

vagrant@kubemaster:~$ kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
vagrant@kubemaster:~$

Niraj Samal:
Ignore my above query. I was running commands under vagrant user without sudo. I switched to root user and it worked.