20.2 Upgrading Analytics Server Containers

NOTE:The Access Manager release version should be compatible with release version to which you want to upgrade if your are upgrading the Analytics Server. If versions are not compatible, ensure that before upgrading Analytics Server containers, Access Manager containers are upgraded. For more information, see Section 20.0, Upgrading Access Manager Containers to upgrade Access Manager deployment.

  1. Get a list of all the helm deployments present in your kubernetes cluster using the following command:

    helm list –A
  2. From the list displayed, select the am-dashboard deployment release name as relevant and the deployed namespace. This information will be used during the upgrade.

  3. View history of upgrades done on the selected AM-Dashboard release deployment using the following command:

    helm history <release_name> --namespace <namespace>
  4. Download the latest AM-Dashboard helm chart, example, AM_50x_Dashboard_HelmChart-1.0.x.tgz, to the master node from the Software License and Download portal.

  5. Unzip the helm chart by using the following command for Analytics Server:

    tar -xzvf AM_50x_Dashboard_HelmChart-1.0.x.tgz
  6. Copy all the values from existing Analytics Server deployments values.yaml file to the recently downloaded am-dashboard-1.0.x/values.yaml.

  7. Run the helm chart to upgrade the deployment, the sample format is as follows:

    helm upgrade --namespace <name-of-the-namespace> <release-name> am-dashboard-1.0.x --reuse-values
  8. Use the following command to verify if all the pods are in ready state after upgrade:

    kubectl get pods -o wide --namspace <namespace>
  9. The Helm history is also updated after a successful upgrade. To view the updated data, use the following command:

    helm history <release_name> --namespace <namespace>