Skip to main content
Skip table of contents

DKP Insights Upgrade

This version of DKP Insights does not support upgrades.

To go from a version to a more recent one, you must delete the previous DKP Insights instance, upgrade DKP and install the more recent version of DKP Insights. This means that data is not migrated, existing alerts are not preserved and Insights-related data is lost.

Applications

DKP Insights consists of two applications that you must delete and re-install:

  • The Insights Management application

  • The Insights Engine application

Overview

  1. Uninstall all DKP Insights Engines

  2. Uninstall DKP Insights on the Management cluster

  3. Upgrade DKP

  4. Install the latest version of Insights on the latest version of DKP

The Insights Management and Engine are not able to communicate with each other until they are upgraded to the same DKP Insights version. D2iQ recommends not resolving Insight alerts until the full DKP Insights upgrade has been completed.

Uninstall all DKP Insights Engines

  1. Disable all DKP Insights Engine applications in the same way you would disable any other application. Disable those instances per cluster via the UI or CLI.

  2. Delete all remaining data from the Engine clusters on any managed or attached clusters. To execute the following command:
    (info) Ensure your configuration references the cluster where the Insights Engine is installed. See Provide Context for Commands with a kubeconfig File for more information.
    (info) Replace workspace-namespace twice in the following command with the DKP Workspace Namespace where the Insights Engine was installed.

    BASH
    kubectl delete pvc \
    data-dkp-insights-postgresql-0 \
    data-dkp-insights-seaweedfs-volume-0 \
    data-dkp-insights-seaweedfs-volume-1 \
    data-dkp-insights-seaweedfs-volume-2 \
    data-filer-dkp-insights-seaweedfs-filer-0 \
    data-<workspace-namespace>-dkp-insights-seaweedfs-master-0 \
    logs-dkp-insights-seaweedfs-volume-0 \
    logs-dkp-insights-seaweedfs-volume-1 \
    logs-dkp-insights-seaweedfs-volume-2 \
    seaweedfs-filer-log-volume-dkp-insights-seaweedfs-filer-0 \
    seaweedfs-master-log-volume-dkp-insights-seaweedfs-master-0 \
    -n <workspace-namespace>

Uninstall DKP Insights Management via CLI

Uninstall the Insights Management application in the Management cluster using the DKP CLI:

  1. Ensure your configuration references the cluster where the Insights Engine is installed. See Provide Context for Commands with a kubeconfig File for more information.

  2. Run the following command:

    CODE
    kubectl delete insights -A --all

Upgrade DKP

Upgrade DKP

Install a more Recent Version of Insights

Ensure this version of Insights is compatible with the upgraded DKP version by reviewing DKP and Insights Compatibility.

  1. Open your modified Kommander installer configuration file.

  2. Re-enable Insights by adding the following values to your existing kommander.yaml:

    CODE
    ...
    apps:
      [...]
      dkp-insights-management:
        enabled: true
    ...
  3. Re-install the Kommander component of DKP depending on your environment.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.