How to fix the kubeconfig issue on Lighting Lab 1. controlplane $ controlplane . . .

Yanhua Li:
How to fix the kubeconfig issue on Lighting Lab 1.

controlplane $
controlplane $ kubectl get node --kubeconfig=CKA/admin.kubeconfig
Unable to connect to the server: x509: certificate signed by unknown authority

mark:
Check if the IP and port the server cluster in the kubeconfig file is correct. It should point to the IP and port kube-apiserver listens on. The kube-apiserver IP and port can be found with kubectl cluster-info.

Yanhua Li:
Yes. thanks a lot Mark!

Yanhua Li:
It is just the error message very misleading.