devopsprodigy / kubegraf

Grafana-plugin for k8s' monitoring
MIT License
407 stars 45 forks source link

Config empty after upgrade to 1.5.0.1 - but still seeing clusters #50

Open BBQigniter opened 3 years ago

BBQigniter commented 3 years ago

Hi,

I saw today that there is a new release and immediately tried it - thanks for the quick fix btw. I removed the old plugin-folder (v1.4.2) and added the new one. Dashboards working fine, but still it seems that something is broken.

If I click (while logged in with my grafana-account) on the Plugin-Icon and choose "Clusters" I see our configured clusters and can go through all the dashboards*. But if I choose "Plugin Config" - there seems that no clusters are configured. Also if I recreate a cluster-config with a new name it won't show up in there - shouldn't it?

*I had to change the regex of the pod-variable in dashboards where it is used, from /pod(?:_name)?=\"(.+?)\"/ to /pod?=\"(.+?)\"/

SergeiSporyshev commented 3 years ago

Hi, @BBQigniter We dont add list of clusters on "plugin config" page, but we plan to do it

If you wanna change the regex, you can create PR - it will be cool

BBQigniter commented 3 years ago

sry, for the late reply.

ah, ok thank you for the info.

Not sure if the regex change is related to our systems only and then would mess with other peoples config. I'll have to test some day when I have time - which can be unfortunately very late :|