Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding permissions to a project

I am trying to follow this tutorial https://tensorflow.github.io/serving/serving_inception

But I see this

$ gcloud container clusters create inception-serving-cluster --num-nodes 5
ERROR: (gcloud.container.clusters.create) ResponseError: code=403, message=Required "container.clusters.create" permission for "projects/tensorflow-serving".

I did not see an option to add permissions to the project anywhere. How do I do this using the CLI or the UI?

EDIT: I do have the project created enter image description here

EDIT: Just saw that it works fine from the cloud shell

like image 314
Abhishek Chanda Avatar asked Dec 14 '22 05:12

Abhishek Chanda


1 Answers

Update: Your project's name is tensorflow-serving-1360, so you should be running gcloud container clusters create inception-serving-cluster --num-nodes 5 --project=tensorflow-serving-1360.


The project tensorflow-serving is not owned by you. It is the example project name used in the linked tutorial, but you need to replace it with the name of your own project as described in the line at the beginning of Part 2:

Here we assume you have created and logged in a gcloud project named tensorflow-serving

like image 191
Robert Bailey Avatar answered Dec 31 '22 18:12

Robert Bailey