In CKAD exam I have been asked to SSH to other node in cluster to do some kubectl operations like kubectl get all
, though with that getting below:
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Tried doing sudo, but did not work and did check kubectl config view (can see empty file in client node)
How to do this?