How can i install plugins after _helm install_ of grafana?
Thanks
Try editing the plugins value in values.yaml (e.g.):
plugins:
- digrich-bubblechart-panel
- grafana-clock-panel
Then do a helm upgrade -f values.yaml <release-name> grafana
Freezing on install digrich-bubblechart-panel and not started pod.
I am using persistent volumes and what i did is to upgrade my helm with adding a plugin:
plugins:
- grafana-kubernetes-app
- camptocamp-prometheus-alertmanager-datasource
so after that
helm upgrade --namespace monitoring -f upgrade.yml grafana stable/grafana
but it basically deleted all my configuration instead of adding a new plugin only. (although plugin was added)
so is there something we can do to keep current configuration AND installing a plugin after installing helm chart for grafana
Hi all, we were able to add the plugin to the config for grafana an run a helm upgrade (this was done as part of the prometheus operator helm chart, since it includes the grafana chart). The config map is updated but the new config is not picked-up by the pod automatically. We had to manually delete the pod and the new one that was automatically created used the new config and installed the plugin.
Is this intended to happen automatically?
Absence of automatic configuration reload is an issue, which is described in detail at https://github.com/helm/charts/issues/8798
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
I am using persistent volumes and what i did is to upgrade my helm with adding a plugin:
...
but it basically deleted all my configuration instead of adding a new plugin only. (although plugin was added)so is there something we can do to keep current configuration AND installing a plugin after installing helm chart for grafana
For anyone still wondering how to add new plugins without helm upgrade. If you are using persistent volumes you can access the grafana server pod to run grafana-cli plugins install <plugin-id>.
kubectl exec -it grafana-pod-id -n grafana -- grafana-cli plugins install <plugin-id>kubectl delete pod grafana-pod-id -n grafana I am using persistent volumes and what i did is to upgrade my helm with adding a plugin:
...
but it basically deleted all my configuration instead of adding a new plugin only. (although plugin was added)
so is there something we can do to keep current configuration AND installing a plugin after installing helm chart for grafanaFor anyone still wondering how to add new plugins without
helm upgrade. If you are using persistent volumes you can access the grafana server pod to rungrafana-cli plugins install <plugin-id>.* `kubectl exec -it grafana-pod-id -n grafana -- grafana-cli plugins install <plugin-id>` * Finally, delete the pod to restart the server: `kubectl delete pod grafana-pod-id -n grafana`In my pod grafana-cli is absent.
@holms you need to mention the container name of grafana e.g.
kubectl exec -it grafana-pod-id -n grafana -c
Most helpful comment
Try editing the plugins value in values.yaml (e.g.):
Then do a
helm upgrade -f values.yaml <release-name> grafana