Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error - Service account ID-compute@developer.gserviceaccount.com does not exist

Hi guys good morning.


I'm getting this error when trying to create a cluster in GKE, I tried disabling the compute engine API and enabling it again but it didn't work. Does anyone have a day?

Note: It doesn't delete the SA, but it just says it doesn't exist.

0 1 2,771
1 REPLY 1

Hi.



The Default Service Account is essential for functions related to Compute Engine and is being generated automatically. 

 

Kubernetes Engine utilizes Compute Engine VM Instances as Nodes used for the cluster. GKE uses the Compute Engine Service Account to authorize the creation of these nodes.

In order to regenerate default service there are two options:

  1. Regenerate by Disabling and Re-enabling the Google Compute Engine API. In the "API's & Services" dashboard. If for some reason performing this option encountering errors when disabling the API, then try option 2.
  2. Run command:

 

gcloud services enable compute.googleapis.com

 

 which is in the header of the page.

 

Or It is also probably that you could have more than one SA, so you must select which would be the default for that GKE (Simply go to the "Service Accounts" section "IAM & Admin" and select the app engine default service account, and provide this as an argument while creating cluster from gcloud

 

 

 

gcloud container clusters create my-cluster --zone=ZONE --machine-type=MACHINETYPE --disk-size=SIZE --service-account=compute@developer.gserviceaccount.com

 

 

 

Top Labels in this Space