kubegraf
kubegraf copied to clipboard
Connection to GKE Cluster
I don't see any possibility connect to my GKE cluster to kubegraf I'm trying to use current configuration:
However, during tests connection, in grafana logs I've just see: status=403
Hi!
- Apply manifests from https://github.com/devopsprodigy/kubegraf/tree/master/kubernetes for create token with read-only access (https://github.com/devopsprodigy/kubegraf/blob/master/README.md steps 3-4
- Click on "Access via token"
- Enter your token from step 1
Was hitting a similar issue but manage to get working with version 1.2.0. You need to follow the steps from @SergeiSporyshev's comment
But you also appear to need the CA Cert. You can get this from the gcloud console for your kubernetes cluster and click Show cluster certificate
.
Only use that tickbox, you can untick any others under the Auth section.
Also I found it helpful once saved, to go to the grafana datasources as there is a Save & test
button on that window (grafana 6.5.2) which will tell you straight away if not working. If you pass there you should be good.