Updated on 2024-08-16 GMT+08:00

Upgrade of Cloud Native Cluster Monitoring

Check Items

During a cluster upgrade, compatibility issues occur when the Cloud Native Cluster Monitoring add-on is upgraded from a version earlier than 3.9.0 to a version later than 3.9.0. Check whether Grafana is enabled for this add-on.

Solution

In versions later than 3.9.0, Cloud Native Cluster Monitoring is not built in with Grafana capabilities anymore. Therefore, reinstall an open-source Grafana version before upgrading Cloud Native Cluster Monitoring.

  • Reinstalling Grafana does not affect existing data.
  • Manually created Grafana Services and ingresses cannot be directly associate with the newly installed Grafana. To resolve this issue, manually change the selector for the affected Services and ingresses.

Solution 1: If Cloud Native Cluster Monitoring can be upgraded to 3.9.0 or later, upgrade it on the Add-ons page. In the displayed dialog box, click Install Grafana. After the request is submitted, continue to upgrade the add-on to the latest version.

Solution 2: If Cloud Native Cluster Monitoring cannot be upgraded to 3.9.0 or later, perform the following operations to manually migrate Grafana:

  1. Disable Grafana on Cloud Native Cluster Monitoring.

    Go to the add-on list, click Edit of Cloud Native Cluster Monitoring. On the Edit Add-on page, disable Grafana.

  2. Install open-source Grafana.

    On the Add-ons page, install Grafana.