Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Role creation failed on GKE cluster #21

Open
levlas opened this issue Mar 11, 2018 · 0 comments
Open

Role creation failed on GKE cluster #21

levlas opened this issue Mar 11, 2018 · 0 comments

Comments

@levlas
Copy link

levlas commented Mar 11, 2018

I have just tried to install fluentbit as DS on a GKE cluster (v1.9.2), followed the README,

I created the namespace and the service account, but when I tried to create the role I got an error message:
Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role.yaml": clusterroles.rbac.authorization.k8s.io "fluent-bit-read" is forbidden: attempt to grant extra privileges: https://gist.github.com/levlas/c956099b7c9753decf5d97d8a7cb26dd

The solution was the role binding of GKE user to cluster-admin role: fluent/fluentd-kubernetes-daemonset#14 (comment)

Would you add that step to the docs?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant