Hi!
We have installed Grafana OSS via the official Helm Chart in a Kubernetes cluster.
How could we automatically update the versions of installed plugins without forcing a pod restart?
We have noticed that with the “Update” button in the plugin view, the pod is not restarted. Could we simulate this behaviour somehow?
Thanks!
Thanks for the reply.
I forgot to mention that I have already tried doing a curl to POST /api/admin/provisioning/plugins/reload
endpoint and even the response is 200 OK and with the response {"message":"Plugins config reloaded"}
, the plugins were not updated.
Also tried grafana cli plugins update-all
, but asks for a pod restart.
I can imagine that it doesn’t work if you have multiple replicas (because you are hitting just one pod, but not others). Did you test with single replica deployment? How did you verify that plugins were not updated?
Hello jangaraj!
No, I only have 1 replica.
I checked the plugin version on the Grafana UI, opening the plugin view in the browser. I checked the version section and it was not updated. Also, I still saw the “Update” blue button for upgrading the plugin manually.
Also tried to logout and login again, and with a different browser in case it were a cache issue.