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
729 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,360 points
1,009 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,050 points
506 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
552 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
14,525 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 5,977 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
3,839 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
996 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