-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Can't deploy Flux standalone to GKE on Kubernetes 1.6.2 #556
Comments
Thanks Carlos. Clearly the GKE environment is a more locked down than your average Kubernetes cluster! We'll have to figure out what permissions we are allowed to grant. Do you know GKE well? |
@squaremo unfortunately I do not have that much experience with GKE, sorry. Is there anything else I can help you with to debug this issue? |
The note under here https://cloud.google.com/container-engine/docs/role-based-access-control#defining_permissions_in_a_role suggests that you need to assign your own account a role with the permissions you wish to grant. If you have not already, it may be worth trying that. |
@squaremo got it! |
The note in the GKE docs suggests that you need to give your account a |
@mongrelion by default your user won't be assigned the |
In case someone lands on this issue before reaching Flux's documentation, the kubectl create clusterrolebinding "cluster-admin-$(whoami)" \
--clusterrole=cluster-admin \
--user="$(gcloud config get-value core/account)" |
I'm trying to deploy Flux standalone to my Kubernetes cluster running in Google Cloud (with GKE) and during the deployment it gives me the following error:
I replaced my corporate email from the output to [email protected] for privacy/security reasons.
Steps to reproduce
Create a Kubernetes cluster in Google Container Engine. Make sure that the Kubernetes version is
1.6.2
. I did it with this Terraform script:Do the
gcloud
step to get a hold of thekubectl
configuration and then:You should see the same output stated above.
The text was updated successfully, but these errors were encountered: