Before you can run kubectl commands on Google Kubernetes Engine, you need to get credentials, this is done with command
gcloud container clusters get-credentials CLUSER_NAME_HERE --zone ZONE_HERE
To use gcloud commands, you need to login to google cloud first using command
gcloud auth login
Leave a Reply