Set read-write storage scope for a GKE cluster

0 votes

How to set read-write scope for a GKE cluster on google cloud?

Nov 14, 2019 in GCP by anonymous
• 9,500 points
217 views

1 answer to this question.

0 votes

By default, new Google Kubernetes Engine clusters are created with read-only permissions for Storage buckets. 

To set the read-write storage scope when creating a Google Kubernetes Engine cluster, use the --scopesoption

For example, the following command creates a cluster with the scopes bigquery,

`storage-rw`, and `compute-ro`:

   gcloud container clusters create example-cluster \
  --scopes=bigquery,storage-rw,compute-ro
answered Nov 14, 2019 by Sirajul
• 50,480 points

Related Questions In GCP

0 votes
1 answer

How to disable the Kubernetes Dashboard for a GKE cluster?

The Kubernetes Dashboard is disabled by default on ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 50,480 points
140 views
0 votes
1 answer

How can I use a pre-existing disk as a persistent volume for a GKE cluster?

If you already have a persistent disk (say ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 50,480 points
274 views
0 votes
1 answer

Set up log delivery for a cloud storage bucket.

The following steps describe how to set ...READ MORE

answered Nov 22, 2019 in GCP by Sirajul
• 50,480 points
70 views
0 votes
1 answer
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 50,480 points
180 views
0 votes
1 answer
0 votes
1 answer

How do I determine cluster endpoints for a GKE cluster?

To determine your cluster endpoints, describe your ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 50,480 points
59 views