kubectl get nodes
NAME STATUS ROLES AGE VERSION
192.168.205.120 NotReady master 59m v1.17.3
k8s-node1 NotReady 48m v1.17.3
k8s-node2 NotReady 47m v1.17.3
[vagrant@k8s-master ~]$ kubectl get pods
No resources found in default namespace.
[vagrant@k8s-master ~]$ sudo kubectl get pod --all-namespaces
The connection to the server localhost:8080 was refused - did you specify the right host or port?