Instructions on upgrading

For every Helm Chart upgrade, the steps in the following guide need to be executed.

Upgrading the Helm Chart

Additionally, the following are the steps to upgrade from v0.9.9 to v0.9.10.

Steps before upgrading

New Grafana version

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.

Grafana

If you don’t have any custom Grafana plugins installed, skip to step 4.

  1. From Grafana, navigate to the Plugins section inside the Configuration tab

  2. Make sure that only the installed plugins are selected

    Untitled

  3. 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.

    Untitled

  4. From Lens, under Deployments, remove the Grafana deployment. This will cause a brief downtime, but no data will be lost.

  5. Now you can proceed with the other steps on this guide before upgrading.

Updating the Grafana init container

  1. Search for “grafana-plugin-extractor”

  2. Replace

    extraInitContainers:
      - image: unitedmanufacturinghub/grafana-plugin-extractor:0.1.4
        imagePullPolicy: IfNotPresent
        name: init-umh-datasource
        volumeMounts:
        - mountPath: /var/lib/grafana
          name: storage
    
  3. 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
    

Increasing the Kafka memory limit