Today when I started by Kubernetes setup (ubuntu1-master node) and ran the command kubectl get nodes I received the below error:-
Error:- The connection to the server 192.168.181.11:6443 was refused - did you specify the right host or port?
In order to solve the issue I ran the below commands on the master node:-
- sudo -i
- swapoff -a
- exit
- strace -eopenat kubectl version
Recommended Books:-
No comments:
Post a Comment