This page includes the details for upgrading, uninstalling, and reinstalling Operators and Collectors.

Upgrade Operators and Collectors

Upgrade Operators

After updating the configuration options, you must upgrade the operators. See Configure Cisco AppDynamics Operators.

To upgrade the operators, perform the following:

  1. Update the cache with the latest information from the remote Helm chart repositories:

    helm repo update 
    CODE
  2. Upgrade operators:
    • Without overriding values

      helm upgrade appdynamics-operators appdynamics-cloud-helmcharts/appdynamics-operators -n appdynamics --wait
      BASH
    • With overriding values

      helm upgrade appdynamics-operators appdynamics-cloud-helmcharts/appdynamics-operators -f operators-values.yaml -n appdynamics --wait
      BASH
    • Adding new values when upgrading from versions < 23.10

      The Cisco AppDynamics Smart Agent was added to Kubernetes and App Service Monitoring in 23.6 and depends on the appdynamics-smartagent key and values in operators-values.yaml.

      1. Add the appdynamics-smartagent key and values to operators-values.yaml as shown below.

        appdynamics-smartagent:
           solution:
              endpoint: <endpoint>
           oauth:
              clientId: <client-ID>
              clientSecret: <client-secret>
              tokenUrl: <token-url>
              tenantId: <tenant-ID> 
        YML
      2. Upgrade the operator with the new values:

        helm upgrade appdynamics-operators appdynamics-cloud-helmcharts/appdynamics-operators -f operators-values.yaml -n appdynamics --wait
        BASH

Upgrade Collectors

After updating the configuration options, you must upgrade the collectors. See Configure Cisco AppDynamics Kubernetes Collectors.

To upgrade the collectors, perform the following:

  1. Update the cache with the latest information from the remote Helm chart repositories:

     helm repo update  
    BASH
  2. Upgrade the collectors:

    helm upgrade appdynamics-collectors appdynamics-cloud-helmcharts/appdynamics-collectors -n appdynamics -f collectors-values.yaml
    BASH

Reinstall Operators and Collectors

You can reinstall the Collectors and Operators after adding configuration options that require a reinstall.

Reinstall Operators

  1. Uninstall Operators 

    helm uninstall appdynamics-operators -n appdynamics
    BASH
  2. Update the cache with latest information from the remote Helm chart repositories

    helm repo update
    BASH
  3. Install Operators

    helm install appdynamics-operators appdynamics-cloud-helmcharts/appdynamics-operators -f operators-values.yaml -n appdynamics --wait
    BASH

Reinstall Collectors

  1. Uninstall Collectors 

    helm uninstall appdynamics-collectors -n appdynamics
    BASH
  2. Update the cache with latest information from the remote Helm chart repositories

    helm repo update
    BASH
  3. Install Collectors

    helm install appdynamics-collectors appdynamics-cloud-helmcharts/appdynamics-collectors -n appdynamics -f collectors-values.yaml --wait
    BASH

Uninstall Collectors and Operators

To uninstall Collectors and operators using Helm:

helm uninstall appdynamics-collectors -n appdynamics


helm uninstall appdynamics-operators -n appdynamics
CODE