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 ffdfd
• 5,550 points
1,017 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,300 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
• 52,350 points
1,346 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
• 7,060 points
933 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,890 points
936 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
15,579 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,065 views
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,300 points
4,336 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,300 points
1,318 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP