About the Upgrade Process for Non-Replicated Configurations
-
Auto: The upgrade process is automated. The TimesTen Operator does not take immediate action. Rather, Kubernetes takes action and automatically begins terminating Pods and replacing them with new ones. The new Pods run the upgraded TimesTen image.The number of Pods that Kubernetes terminates and replaces is dependent on the value of the
.spec.ttspec.rollingUpdatePartitiondatum. In particular, Kubernetes upgrades Pods whose ordinal value is greater than or equal to the value of.spec.ttspec.rollingUpdatePartition. Pods whose ordinal value is less than the value of.spec.ttspec.rollingUpdatePartitionare not upgraded. For example, if you have three non-replicated Pods (replicas = 3where the ordinal value of the Pods are-0,-1, and-2) and the value of.spec.ttspec.rollingUpdatePartitionis2, the-2Pod is upgraded, but the-1and-0Pods are not. The default for.spec.ttspec.rollingUpdatePartitionis0.You have the option of specifying the
.spec.ttspec.rollingUpdatePartitiondatum when you define the attributes for your TimesTenClassic object. If you do not specify the datum, the default is0. See About Defining TimesTenClassic Objects.You also have the option of changing the value of the
.spec.ttspec.rollingUpdatePartitiondatum as part of the upgrade procedure. There is an example later in the chapter that illustrates how to do this. -
Manual: The upgrade process is manual. Neither Kubernetes nor the TimesTen Operator takes immediate action. You are responsible for initiating the upgrade by deleting one or more Pods. For manual upgrades, the.spec.ttspec.rollingUpdatePartitiondatum is ignored.