scnzzh@ZUBT1:~$ kubectl get nodes
The connection to the server 10.0.2.15:6443 was refused - did you specify the right host or port?
How to fix:
- sudo swapoff -a
- exit
- strace -eopenat kubectl version
2023-12-24 08:15:46
scnzzh@ZUBT1:~$ kubectl get nodes
The connection to the server 10.0.2.15:6443 was refused - did you specify the right host or port?
How to fix: