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
I was facing the same issue on Ubuntu 18.04.1 LTS.
The solution provided here worked for me.
Just putting the same data here:
Get current cluster name and Zone:
gcloud container clusters list
Configure Kubernetes to use your current cluster:
gcloud container clusters get-credentials [cluster name] --zone [zone]
Hope it helps.