When I do
@master:~$ sudo -i
[email protected]:~# kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[email protected]:~# logout
I get above error, In exams is the kubernetes installed as root ? can I do sudo -i ?