Modifying Google Cluster Engine(GKE) API permissions?

0 votes

My GKE cluster is running without Cloud Monitoring API access permission. I want to know whether or not I can enable it or will I have to start a new cluster all together? Is there any way by which I can change such permissions without having to recreate the entire cluster?

Dec 26, 2018 in Kubernetes by Atul
• 5,530 points
54 views

1 answer to this question.

0 votes

Try and create a new Node Pool with the permissions you want instead of creating the entire cluster.(You can delete the old node pool later):

gcloud container node-pools create new-np --cluster $CLUSTER --scopes monitoring

There's a little drawback to this approach though. If you are using the same service account in different locations. Like if account1 needs to access Cloud Monitoring from this cluster but this account is also being used by an unrelated GCE VM. Then you might want to work with caution as you GCE VM will also have access to Cloud Monitoring data.

answered Dec 26, 2018 by ajs3033
• 7,240 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

“403 Insufficient Permission” while creating a Kubernetes Cluster on Google Cloud instance

To run ./cluster/kube-up.sh, you most likely need compute scope ...READ MORE

answered Aug 28, 2018 in Kubernetes by Kalgi
• 37,360 points
100 views
0 votes
2 answers

run private docker images on Google Container Engine

run docker login on minions before starting.  ...READ MORE

answered Aug 30, 2018 in Kubernetes by Nilesh
• 6,900 points
24 views
0 votes
1 answer

Kubernetes HTTPS Ingress in Google Container Engine

n order to have HTTPs service exposed ...READ MORE

answered Nov 23, 2018 in Kubernetes by DareDev
• 6,810 points
46 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
1,155 views
+3 votes
1 answer
0 votes
1 answer

Permission Error while GKE clusterrolebinding for cluster-admin

If your kubeconfig was created automatically by gcloud then ...READ MORE

answered Sep 3, 2018 in Kubernetes by ajs3033
• 7,240 points
487 views
0 votes
1 answer

Using kubernetes API on GKE

When you create a cluster using GKE, ...READ MORE

answered Dec 6, 2018 in Kubernetes by ajs3033
• 7,240 points
105 views