About Upgrading from Previous Releases
In TimesTen releases 22.1.1.27.0 and greater, the TimesTenClassic Custom Resouce Definition (CRD) defines different schema versions. The TimesTen Operator supports the creation, monitoring, and management of TimesTenClassic objects in these schema versions. For more information about TimesTen CRDs, see About TimesTen CRDs.
22.1.1.27.0 and greater, note the following:
-
You can create TimesTenClassic objects in different schema versions. However, to use attributes specific to the latest release of the TimesTen Operator, you must define your object with the
v4schema definitions. For information about these attributes, see TimesTenClassicSpecSpec. -
Kubernetes uses the
v4schema version as the default version. If you use thekubectlgetcommand to fetch a TimesTenClassic object, Kubernetes returns the object inv4format, unless you explicitly ask for a different format. -
Not only does Kubernetes support multiple versions of a CRD simultaneously, but it can serve an object in a schema version that is different than the one in which it was created. A TimesTenClassic object that you created with one schema version can be fetched with another schema version. For example, you can create a
v4TimesTenClassic object and can fetch it as a different version of the object. -
Kubernetes stores newly created objects using one schema version. Kubernetes stores TimesTenClassic objects in the
v4schema. -
Use the following syntax to define
v4TimesTenClassic objects:apiVersion: timesten.oracle.com/v4 kind: TimesTenClassicUsing
timesten.oracle.com/v4forapiVersioninstructs Kubernetes to create av4object. For more information aboutapiVersion, see TimesTenClassic.