kpgenes
kpgenes

Reputation: 113

How to create a kubernetes cluster with service account of type '[email protected]' in GCP?

Service account "[email protected]" does not exist.

I am trying to create a kubernetes cluster but GCP gives me the error above. I checked for the account name in service account but could not find it, rather I have '[email protected]'.

I tried to create another service account with this email "[email protected]" but it does not allow me to create.

I am new to GCP and I do not know how to solve this problem. All I am looking for to create a kubernetes cluster in GCP.

Upvotes: 0

Views: 319

Answers (1)

Gari Singh
Gari Singh

Reputation: 12033

Looks like you are missing the default service account for your GCP project. You have two options:

  1. (re)create the default service account
  2. when creating your GKE cluster, under NODE POOLS, go to default-pool->Security and for Service account, select one the one which exists.

If you want to (re)create the default service account, you can disable/enable the Google Compute Engine API via the console or run gcloud services enable compute.googleapis.com from Cloud Shell or from the command line on your workstation.

Upvotes: 1

Related Questions