grafana / kubernetes-app

A set of dashboards and panels for kubernetes.
https://grafana.com/plugins/grafana-kubernetes-app
Apache License 2.0
401 stars 149 forks source link

How to create proper authentication for kubernetes #39

Closed cbluth closed 5 years ago

cbluth commented 5 years ago

I used helm to deploy grafana, but I cannot get it to connect to the kubernetes api. I cannot find instructions on how to create a cluserrole for grafana.

cbluth commented 5 years ago

For example, where can I put the kubernetes token?

image

jazoom commented 5 years ago

I'm wondering why this needs access to the cluster at all. All this data is accessible in Prometheus.

cmorent commented 5 years ago

Maybe just to deploy the required kubernetes resources?

The Deploy button will deploy the following: (1) A promtheus configmap which contains the prometheus jobs that collect metrics used by the dashboards in the kubernetes app (2) a Node Exporter deployment, and (3) a Kube-State Metrics deployment

Then, everything is exported from the Prometheus Datasource ?

cbluth commented 5 years ago

this is the solution to my issue: https://github.com/grafana/kubernetes-app/issues/46#issuecomment-435806954