Is this a request for help?: Yes
Version of Helm and Kubernetes:
helm: v2.12.1
kubernetes: v1.11.5
Which chart: [stable/prometheus-operator]
Hi! is there any way to add new grafana plugins to this chart after install?
Plugins can be configured in the values:
plugins:
# - digrich-bubblechart-panel
# - grafana-clock-panel
You mean like:
grafana:
plugins:
# - digrich-bubblechart-panel
# - grafana-clock-panel
Ahh this isn't in the docs for [stable/prometheus-operator]
once confirmed, I'll try to add it when time permits
Exactly, just remember to remove those comment tags so like:
grafana:
plugins:
- digrich-bubblechart-panel
- grafana-clock-panel
Can confirm that this works.
I totally forgot about this command to add new plugins after install: helm upgrade prometheus stable/prometheus-operator --set grafana.plugins[0]=digrich-bubblechart-panel
============
In order to add new plugins after installed, make sure that this is in grafana deployment yaml
- name: GF_INSTALL_PLUGINS
valueFrom:
configMapKeyRef:
name: prometheus-grafana
key: plugins
and proceed to edit ConfigMap prometheus-grafana plugins like so:
data:
grafana.ini: |
[analytics]
check_for_updates = true
[grafana_net]
url = https://grafana.net
[log]
mode = console
[paths]
data = /var/lib/grafana/data
logs = /var/log/grafana
provisioning = /etc/grafana/provisioning
plugins: 'digrich-bubblechart-panel' # <--
Most helpful comment
Can confirm that this works.
Update
I totally forgot about this command to add new plugins after install:
helm upgrade prometheus stable/prometheus-operator --set grafana.plugins[0]=digrich-bubblechart-panel============
In order to add new plugins after installed, make sure that this is in
grafanadeployment yamland proceed to edit ConfigMap
prometheus-grafanapluginslike so: