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 CONNECT?! #61

Open masikmos opened 5 years ago

masikmos commented 5 years ago

How connect??? I have only token, where get TLS Client Auth?

And what ip need on URL???

Heeeeelp please......

ddy86 commented 5 years ago

please refer to https://github.com/grafana/kubernetes-app/issues/35#issuecomment-407878758

masikmos commented 5 years ago

I don't have user key and user cert, only token and ca.crt...

ddy86 commented 5 years ago

The user key and user cert are in /etc/kubernetes/admin.conf:

users:
- user:
      client-certificate-data: xxxx
      client-key-data: xxx

You should use base64 to decode it. And also, You can add a basic auth user and then config the cluster like below: image refers to https://kubernetes.io/docs/reference/access-authn-authz/authentication/#static-password-file to see how to add a basic user for kubernetes.

tehlers320 commented 5 years ago

My guess is this is an amazon user. You only get the ca.crt in EKS. see https://github.com/grafana/kubernetes-app/issues/55 if you are. More details would be useful.