For every Helm Chart upgrade, the steps in the following guide need to be executed.
Additionally, the following are the steps to upgrade from v0.9.9 to v0.9.10.
In this release we updated the Grafana version from 8.5.9 to 9.3.1. Check the release notes for further information about possible breaking changes that could affect you.
If you don’t have any custom Grafana plugins installed, skip to step 4.
From Grafana, navigate to the Plugins section inside the Configuration tab
Make sure that only the installed plugins are selected
Write down all the plugins that you manually installed. You can recognize them by not having the Core
tag. Also, the following ones already come with the UMH stack, thereby you don’t need to note them.
From Lens, under Deployments, remove the Grafana deployment. This will cause a brief downtime, but no data will be lost.
Now you can proceed with the other steps on this guide before upgrading.
Search for “grafana-plugin-extractor”
Replace
extraInitContainers:
- image: unitedmanufacturinghub/grafana-plugin-extractor:0.1.4
imagePullPolicy: IfNotPresent
name: init-umh-datasource
volumeMounts:
- mountPath: /var/lib/grafana
name: storage
With
extraInitContainers:
- image: unitedmanufacturinghub/grafana-umh:1.1.2
name: init-plugins
imagePullPolicy: IfNotPresent
command: ['sh', '-c', 'cp -r /plugins /var/lib/grafana/']
volumeMounts:
- name: storage
mountPath: /var/lib/grafana