4.3 Upgrade Tasks

Perform this procedure to upgrade OCNWDAF.

Upgrade Order

Ensure you follow the upgrade order listed below:

  1. Uninstall NWDAF simulator for the completion of the retention period.
  2. Upgrade source NFs (DD, SCP, and so on).

    Note:

    Upgrade to a new release succeeds if compatibility is maintained. See "Compatibility Matrix" in the Oracle Communications Network Analytics Suite Release Notes.
  3. Ensure that no OCNWDAF pod is in the failed state.
  4. Perform all the Preupgrade Tasks.
  5. Upgrade the OCNWDAF.

    Note:

    No configuration should be performed during upgrade.
  6. Install the simulators (When the deployment does not have the OCNADD as a data source).

Helm Upgrade

Upgrading an existing deployment replaces the running containers and pods with target release containers and pods. If there is no change in the pod configuration, then it is not replaced. Unless there is a change in the service configuration of a microservice, the service endpoints remain unchanged.

Run the following command to perform a Helm Upgrade within the current release (24.2.0 to 24.2.x):
helm upgrade <installation name> <path to the chart directory> -n $K8_NAMESPACE --timeout <timeout>m --values <path to custom values file> --no-hooks
For example:
helm upgrade nwdaf helmChart/ -n ocnwdaf-ns --timeout 30m --values custom-templates/ocnwdaf_custom_values.yaml --no-hooks
Run the following command to perform an upgrade from the previous release (24.1.0 to 24.2.0):
helm upgrade <installation name> <path to the chart directory> -n $K8_NAMESPACE --timeout <timeout>m --values <path to custom values file>
For example:
helm upgrade nwdaf helmChart/ -n ocnwdaf-ns --timeout 30m --values custom-templates/ocnwdaf_custom_values.yaml