Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with k8s.io/docs/tasks/debug-application-cluster/events-stackdriver/ #16184

Closed
kribor opened this issue Sep 2, 2019 · 3 comments
Closed

Comments

@kribor
Copy link

kribor commented Sep 2, 2019

Using the provided yaml results in (GKE v1.12.9-gke.7):

E0902 08:12:44.409083 1 reflector.go:190] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:50: Failed to list *v1.Event: events is forbidden: User "system:serviceaccount:devops:event-exporter-sa" cannot list resource "events" in API group "" at the cluster scope

After modifying the clusterrolebinding to:

...
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: edit
...

it apparently work but these permission might be too wide.

@kribor
Copy link
Author

kribor commented Sep 2, 2019

Looking a bit deeper this scop of this guide is probably outdated because the exporter is already installed in the kube-system namespace! Stackdriver instructions are out of date as well and events appear in:
GKE Cluster Operations
NOT:
GKE Cluster

@aimeeu
Copy link
Contributor

aimeeu commented Sep 5, 2019

@kribor Thank you for reporting this issue! We are in the process of removing third-party content, which includes this Stackdriver page. See PRs #15748 and #16203. So I'm closing this Issue. Thanks.
/close

@k8s-ci-robot
Copy link
Contributor

@aimeeu: Closing this issue.

In response to this:

@kribor Thank you for reporting this issue! We are in the process of removing third-party content, which includes this Stackdriver page. See PRs #15748 and #16203. So I'm closing this Issue. Thanks.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

No branches or pull requests

3 participants