Upgrade the TimesTen Custom Resource Definitions (CRDs)

To upgrade the TimesTen Custom Resource Definitions (CRDs) in your cluster, use the ttcrd chart from the new release.

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

Let's assume you previously created the new_kube_files directory and unpacked the new release of the TimesTen Operator distribution into this directory.

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

    Output.

    NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
    samplettc       mynamespace     1               2023-10-23 23:18:03.740512897 +0000 UTC deployed        ttclassic-2211190.1.0   22.1.1.19.0
    samplettop      mynamespace     1               2023-10-23 23:04:40.492890589 +0000 UTC deployed        ttoperator-2211190.1.0  22.1.1.19.0
    ttcrd           mynamespace     1               2023-10-17 22:00:53.530832896 +0000 UTC deployed        ttcrd-2211190.1.0       22.1.1.19.0

    The ttcrd chart version is 2211190.1.0 and appversion is 22.1.1.19.0 corresponding to the TimesTen 22.1.1.19.0 release.

  2. On your development host, change to the new_kube_files/helm directory.
    cd new_kube_files/helm

    This directory contains the new release of the charts. For more information about the helm directory, see Set Up the Environment.

  3. Upgrade to the new release.
    helm upgrade ttcrd ./ttcrd

    Output.

    Release "ttcrd" has been upgraded. Happy Helming!
    NAME: ttcrd
    LAST DEPLOYED: Tue Oct 24 16:00:21 2023
    NAMESPACE: mynamespace
    STATUS: deployed
    REVISION: 2
    NOTES:
    Version 2211200.1.0 of the ttoperator chart has been installed.
    
    This release is named "ttcrd".
    
    To learn more about the release, try:
    
      $ helm status ttcrd
      $ helm get all ttcrd
      $ helm history ttcrd
    
    To rollback to a previous version of the chart, run:
    
      $ helm rollback ttcrd <REVISION>
        - run 'helm history ttcrd' for a list of revisions.

    The TimesTen CRDs are upgraded to the new release. The ttcrd chart's version is 2211200.1.0.

Congratulations! You successfully upgraded the TimesTen CRDs.