Roll Back a TimesTen Custom Resource Definitions (CRDs) Upgrade

You can use Helm to roll back the TimesTen Custom Resource Definitions (CRDs) in your cluster.

Let's assume you upgraded the TimesTen CRDs in your cluster as discussed in Upgrade the TimesTen Custom Resource Definitions (CRDs). However, you now want to roll back the upgrade. Here's how to perform the rollback using Helm.

This example downgrades from TimesTen release 22.1.1.20.0 to 22.1.1.19.0. For more information about TimesTen releases, see Overview of release numbers in the Oracle TimesTen In-Memory Database Installation, Migration, and Upgrade Guide.

  1. Review the current ttcrd release that is deployed in your namespace.
    helm list

    Output.

    
    NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
    ...
    ttcrd           mynamespace     2               2023-10-24 16:00:21.530832896 +0000 UTC deployed        ttcrd-2211200.1.0       22.1.1.20.0

    The ttcrd release that is deployed is revision 2. The ttcrd chart version is 2211200.1.0 corresponding to the 22.1.1.20.0 TimesTen release.

  2. Roll back to the previous revision.
    helm rollback ttcrd 1

    Output.

    Rollback was a success! Happy Helming!
  3. Confirm the ttcrd release is at revision 3.
    helm list

    Output.

    
    NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
    ...
    ttcrd           mynamespace     3               2023-10-24 23:31:21.530832896 +0000 UTC deployed        ttcrd-2211190.1.0       22.1.1.19.0

    Revision 3 of the ttcrd release is now deployed. The ttcrd chart version is 2211190.1.

Congratulations! You successfully completed the rollback.