run:kubectl get nodesnode
ERROR:the server doesn't have a resource type "nodes"ide
To solve:sudo cp /etc/kubernetes/admin.conf ~/.kube/configserver