About Upgrading the TimesTen Operator

Before you begin the upgrade of the TimesTen Operator, ensure you have obtained either the YAML manifest files or the Helm charts necessary for the upgrade. See About Obtaining Container Images for the Upgrade. If you are using Helm charts for the upgrade, see Overview of Helm and TimesTen Helm Charts.

The upgrade process differs depending on whether you are upgrading the TimesTen Operator in one or more namespaces at namespace-scope or in the timesten-operator namespace at cluster-scope. You must upgrade the TimesTen Operator in the same scope as the scope in which you installed the TimesTen Operator. For more information about the TimesTen Operator scopes, see About the TimesTen Operator.

The following sections show you how to perform the upgrade in both scopes using YAML manifest files. The examples assume the files are located in the new_kube_files/deploy directory. See About Obtaining Container Images for the Upgrade.

To upgrade the TimesTen Operator in one or more namespaces in your Kubernetes cluster at namespace-scope, use the following files:
  • service_account.yaml: Upgrades the service account, role, and role binding objects associated with the TimesTen Operator.

    To perform the upgrade, you use kubectl replace to replace the file in your namespace.

  • service_account_cluster.yaml: Upgrades additional privileges and permissions for the TimesTen Operator. If you installed this file, you must upgrade it. See About Installing the TimesTen Operator.

    You must modify this file and then upgrade it by using kubectl replace. The modifications you need to make are explained later in the examples.

  • operator.yaml: Upgrades the TimesTen Operator in a namespace in your Kubernetes cluster at namespace-scope.

    You must modify this file and then upgrade it by using kubectl replace. The modifications you need to make are explained later in the examples.

To upgrade the TimesTen Operator in the timesten-operator namespace in your Kubernetes cluster at cluster-scope, use the following files:
  • cluster_config.yaml: Upgrades the timesten-operator namespace as well as the ServiceAccount, Role, RoleBinding, ClusterRole, and ClusterRoleBinding objects necessary to run the TimesTen Operator in the timesten-operator namespace at cluster-scope.

    To perform the upgrade, you use kubectl replace to replace the file.

  • cluster_operator.yaml: Upgrades the TimesTen Operator in the timesten-operator namespace in your cluster at cluster-scope.

    You must modify this file and then upgrade it by using kubectl replace. The modifications you need to make are explained later in the examples.