Docker Kubernetes cluster error Request had insufficient authentication scopes on Google Cloud

I am trying to run a Kubernetes cluster on Google cloud. I am using the below link – http://kubernetes.io/docs/hellonode/

When I execute the below command – gcloud container clusters get-credentials hello-world

  • Cant add Docker Support Visual Studio 2017
  • Migrating a service from one docker container to another with zero downtime
  • How to create automatic docker image after successful build of Jenkins?
  • Create Docker Containers and then copy Ansible playbook to them
  • curl_slist_free_all() causes segfault on GKE w/ Debian 8.7
  • Creating docker images with java application [closed]
  • I get an error Request had insufficient authentication scopes

    What is the possible solution to this problem?

  • Unmet Peer dependency issue when running node in docker
  • Docker giving IP address at the same level as the host, similar to VM bridged networking
  • iTerm login error message about docker daemon
  • Ansible how to push local image to private registry
  • Chef-zero error when creating a docker container from OSX
  • Is it possible for image to have multiple tags?
  • One Solution collect form web for “Docker Kubernetes cluster error Request had insufficient authentication scopes on Google Cloud”

    The Container Engine API requires the cloud-platform OAuth2 Scope for authentication. If you are running these commands from a Google Compute Engine instance, you’ll need to create the instance with that authentication scope:

    • With the gcloud CLI, add --scopes=cloud-platform to your gcloud compute instances create command.

    • In the Developer Console UI, select “Allow full access to all Cloud APIs” on the “Create an Instance” page.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.