TimesTenClassicSpecSpec
TimesTenClassicSpecSpec appears in TimesTenClassicSpec.
v4
, v3
, and v2
schema versions.
Note:
Thev2
schema version is deprecated. It is fully supported in this release, but will be removed in a future release.
The following table details the fields for TimesTenClassicSpecSpec. Note the following:
-
The fields are in alphabetical order.
-
The third column indicates the earliest schema version the field was supported in.
-
There are some fields of type quantity. The specified value is of the same format as Kubernetes resource limits. For example, 200Gi, 200G, 1000Mi, 1000M, and so on.
-
There are fields that are reserved for internal use and are not documented in this table. The names of these fields typically begin with
zz
. For example,zzTestInfo
is reserved for internal use.
Table 20-3 TimesTenClassicSpecSpec syntax
Field | Type | Earliest Schema Version Supported In | Description |
---|---|---|---|
|
quantity |
|
The amount of This memory is used for the TimesTen daemon, subdaemons, agents, and the Client/Server server. This value is added to The default is |
|
integer |
|
At times the TimesTen Operator needs to perform operations on a TimesTen instance or database. When the TimesTen Operator needs to perform such operations, it asks the TimesTen Agent running in the The Agent runs the operation either synchronously (while the TimesTen Operator waits) or asynchronously (while the TimesTen Operator is not waiting and can perform other operations for other TimesTen objects). The only operation that is performed asynchronously is duplicate, where a TimesTen Classic database is copied from the active Pod to the standby Pod. This is done as part of the initial rollout of an active standby pair, and at various times during its lifecycle. These duplicate operations can take a long time, and the amount of time increases as the size of the database increases. If an asynchronous operation does not complete within If your database is large, you may need to increase the default value for The default is |
|
integer |
|
Time in seconds that the TimesTen Operator waits for an https The default is |
|
integer |
|
Time in seconds that the TimesTen Operator waits for an https The default is |
|
integer |
|
Time in seconds that the TimesTen Operator waits for a TCP handshake when communicating with the TimesTen agent. The default is |
|
integer |
|
Time in seconds that the TimesTen Operator waits for a TLS (https) credential exchange when communicating with the TimesTen agent. The default is |
|
boolean |
|
Determines if the TimesTen Operator attempts to set appropriate memory limits and requests for TimesTen Pods. Valid values:
|
|
string |
|
If the TimesTenClassic object enters the |
|
boolean |
|
Determines if the metadata in the Oracle Database should be cleaned up when this TimesTenClassic object is deleted. Use for TimesTen Cache only. Valid values:
See Dropping Oracle Database Objects Used by Cache Groups with Autorefresh in the Oracle TimesTen In-Memory Database Cache Guide. |
|
|
|
If specified, the TimesTen Operator can automatically create self-signed certificates and configure TimesTen to use those certificates for client/server encryption. The fields for the For more information about how the TimesTen Operator automatically generates certificates and configures client/server TLS connections, see Automatically Configure Client/Server TLS. |
|
boolean |
|
Determines if the TimesTen Operator creates a readiness probe for a replicated TimesTenClassic object. Valid values:
|
|
quantity |
|
The amount of CPU requested for the The default is |
|
quantity |
|
The amount of memory requested for the The default is |
|
boolean |
|
Determines if a daemon log container is created in each TimesTen Pod. This container writes the TimesTen daemon logs (from Valid values:
|
|
quantity |
|
Specify this value to tell the TimesTen Operator how much CPU your There is no default. |
|
quantity |
|
You can specify this value to tell the TimesTen Operator how much shared memory your database requires. If you specify a value, that value will be used. If you do not specify a value, the TimesTen Operator attempts to determine the required size from the provided If the TimesTen Operator cannot determine the database size, the value TimesTen recommends that you provide a
db.ini file to the TimesTen Operator by using a Configmap or Secret, and that you not specify databaseMemorySize .
Note: If you provide adb.ini file by using an init container, you must specify databaseMemorySize .
|
|
array of strings |
|
Name of one or more ConfigMaps to be included in a projected volume. This projected volume is mounted as |
|
array of strings |
|
Name of one or more Secrets to be included in a projected volume. This projected volume is mounted as |
|
integer |
|
When specified, this datum directs the TimesTen Operator to detect situations where a Node is not ready (or unknown) for a specific period of time. When detected, the TimesTen Operator takes appropriate action to remedy the situation. Specifically, the TimesTen Operator checks to see if the Node's not ready condition has existed for more than The value is expressed in seconds and must be greater than By default, this datum is not specified in your TimesTenClassic object definition. You must specify it. Note: Use caution when specifying this datum. Specifying this datum could result in the TimesTen Operator deleting PVCs. Deleting PVCs discards the on-disk copy of TimesTen databases. For more information, see How the TimesTen Kubernetes Operator Handles Node Failure. |
|
quantity |
|
The amount of CPU requested for the The default is |
|
quantity |
|
The amount of memory requested for the The default is |
|
string |
|
Name of the TimesTen image that is executed in the created containers. There is no default. You must specify the name of the |
|
string |
|
Determines if and when Kubernetes pulls the TimesTen image from the image repository. Valid values:
Note: Values are case sensitive. |
|
string |
|
Image pull secret that is used to authenticate and give permission to Kubernetes to fetch the specified TimesTen image from its image repository. There is no default. You must specify the name of the image pull secret. |
|
string |
|
Determines if the TimesTen Operator performs automated upgrades. Valid values:
Values are case sensitive. See Perform Upgrades. |
|
string |
|
Name of the storage class that is used to request persistent volumes for the TimesTen database transaction log files. This field is optional. |
|
|
|
When choosing to use a persistent volume to store the TimesTen transaction logs, the primary determinant of what volumes to use is the
|
|
string |
|
Amount of storage to be provisioned for the TimesTen transaction logs. For information on determining the amount of storage needed for the transaction log files, see Storage Provisioning for TimesTen in the Oracle TimesTen In-Memory Database Operations Guide The default is |
|
integer |
|
At runtime, if a container's memory usage is more than its percentage of its limit (both as reported by cgroups), the TimesTen Operator generates Events to inform you of this occurrence. The memory usage refers to the container's The default is |
|
integer |
|
Determines how often (expressed in seconds) that the TimesTen Operator checks the status of the TimesTenClassic object. For example, if you set this value to This value interacts with The value must be a positive integer (greater than |
|
|
|
Determines if the TimesTen Exporter is deployed. If specified, the Exporter is deployed. The fields for the |
|
boolean |
|
Determines if the TimesTen Operator causes the container image to be mounted read-only in TimesTen containers. In addition, determines if the TimesTen Operator provisions an empty directory and mounts it on top of the Valid values:
If you provide your own containers, the TimesTen Operator does not automatically mount your container images as read-only. If you upgrade a |
|
string |
|
When a TimesTenClassic object is in the |
|
string |
|
The The Example of using apiVersion: timesten.oracle.com/v4
kind: TimesTenClassic
metadata:
name: sample
spec:
ttspec:
repCreateStatement: |
create active standby pair
"{{tt-name}}" on "{{tt-node-0}}",
"{{tt-name}}" on "{{tt-node-1}}"
RETURN TWOSAFE
store "{{tt-name}}" on "{{tt-node-0}}"
PORT {{tt-rep-port}} FAILTHRESHOLD 10 TIMEOUT 5
DISABLE RETURN ALL 10
store "{{tt-name}}" on "{{tt-node-1}}"
PORT {{tt-rep-port}} FAILTHRESHOLD 10 TIMEOUT 5
DISABLE RETURN ALL 10
The TimesTen Operator does the substitutions for you.
When you use the The configuration has the following restrictions:
See CREATE ACTIVE STANDBY PAIR in the Oracle TimesTen In-Memory Database SQL Reference and Defining an Active Standby Pair Replication Scheme in the Oracle TimesTen In-Memory Database Replication Guide. |
|
integer |
|
Valid for non-replicated database configurations. Number of TimesTen Pods to provision. You can only specify The minimum value is You cannot change the value of For more information, see Create TimesTen Classic Databases. |
|
string |
|
Determines the encryption algorithm to be used by TimesTen replication. If specified, replication traffic is encrypted. You can specify one or more cipher suites. Specify the desired cipher suites, comma-separated and in order of preference. The supported cipher suites are as follows:
See Configuration for TLS for Client/Server in the Oracle TimesTen In-Memory Database Security Guide. |
|
integer |
|
Determines if SSL encryption is mandatory for replication. Valid values:
This field is only examined if See About Using Certificates with Client/Server in the Oracle TimesTen In-Memory Database Security Guide. |
|
string |
|
Determines if replication should be configured. Valid values:
For more information, see Create TimesTen Classic Databases. |
|
integer |
|
TCP port used for replication. The default is |
|
string |
|
You can use the If you do not specify the See CREATE ACTIVE STANDBY PAIR in the Oracle TimesTen In-Memory Database SQL
Reference and Defining an Active Standby Pair Replication Scheme in the Oracle TimesTen In-Memory Database Replication
Guide for information on the |
|
integer |
|
Time in seconds a replicated database remains in the The default is |
|
string |
|
You can use the If you do not specify the If you specify the See CREATE ACTIVE STANDBY PAIR in the Oracle TimesTen In-Memory Database SQL
Reference and Defining an Active Standby Pair Replication Scheme in the Oracle TimesTen In-Memory Database Replication
Guide for information on the |
|
string |
|
The |
|
integer |
|
Specific to upgrading a non-replicated configuration. Kubernetes upgrades Pods with an ordinal value that is greater than or equal to the For example, if you have three non-replicated Pods ( The default is For more information, see Perform Upgrades in this book and Partitioned rolling updates in the Kubernetes documentation. |
|
string |
|
If you change the value of |
|
string |
|
Name of the storage class that is used to request persistent volumes for the TimesTen database. There is no default. You must specify the name of the storage class. |
|
|
|
When choosing to use a persistent volume to store a TimesTen database, the primary determinant of what volumes to use is the
|
|
string |
|
Amount of storage to be provisioned for TimesTen and the database. For information on determining the amount of storage needed for TimesTen, see Storage Provisioning for TimesTen in the Oracle TimesTen In-Memory Database Operations Guide . The default is |
|
string |
|
The TimesTen Operator stores its security certificates in Java Keystores. In order to create and use Java Keystores, they must be secured with a known password ( The default value is a hard-coded string that is not documented. Although not recommended, you can use the |
|
integer |
|
Amount of time (in seconds) that Kubernetes waits for a Pod to gracefully shut down before being forcefully terminated. The default varies depending on your configuration:
|
|
integer |
|
Number of seconds that a TimesTen instance or TimesTen database is unavailable before the TimesTen Operator takes action to fail over or otherwise recover from the issue. This value interacts with The value must be a positive integer (greater than |
|
integer |
|
Maximum amount of seconds that the TimesTenClassic object remains in the The default is For information on the |