When i run the kubectl version command , I get the following error message.
kubectl version
Client Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v
You can get relevant information about the client-server status by using the following command.
kubectl config view
Now you can update or set k8s context accordingly with the following command.
kubectl config use-context kubernetes
you can do further action on kubeconfig file. the following command will provide you with all necessary information.
kubectl config --help