About the TimesTen Operator Configuration
-
TT_CONNECTION_MANAGER
: If defined and set to1
, this environment variable enables the Connection Manager. By default, the value is set to1
in theoperator.yaml
andcluster_operator.yaml
YAML manifest files.connectionManager
: If defined and set totrue
in thettoperator
orttclusteroperator
Helm charts, the Connection Manager is enabled. The default istrue
and is set in thettoperator
andttclusteroperator
Helm charts.If you disable metrics for the TimesTen Operator, or you are not using https for metrics, the Connection Manager is not enabled. For example, if you set
METRICS_SCHEME
tohttp
orEXPOSE_METRICS
to0
(or the equivalent in the Helm charts), thenTT_CONNECTION_MANAGER
(andconnectionManager
) is ignored and treated as0
(orfalse
). -
TT_CONNECTION_MANAGER_NODEPORT
environment variable (inoperator.yaml
andcluster_operator.yaml
) and theoperatorNodePort
value (in thettoperator
andttclusteroperator
Helm charts): Use to change the port number on which the Connection Manager API is available for applications outside the cluster. The default is32625
. -
TT_OPERATOR_SAN
environment variable (inoperator.yaml
andcluster_operator.yaml
) and theoperatorSAN
value (in thettoperator
andttclusteroperator
Helm charts): Use to add subject alternate names (SANs) to the TLS certificate that the TimesTen Operator creates to control access to the TimesTen Operator metrics and to the Connection Manager API.-
If you use metrics and the Connection Manager API from inside the cluster only, you do not need to define this environment variable in the YAML manifest files (or define the value in the Helm charts).
-
If you use either metrics or the Connection Manager API or both from outside the cluster, you must define a SAN for the nodes in the cluster. By default, no SAN is specified.
-
For more information, see TimesTen Kubernetes Operator Environment Variables and Helm Charts for the TimesTen Kubernetes Operator.
Normal http error codes indicate if the request is invalid.
{ "status": 0 [, "error": "the error"] [, "connstr": "TTC_SERVER1=..."]}
-
status
: Is a numeric indication as to whether the request was successful or not. A value of0
indicates success. -
error
: Ifstatus
is not equal to0
, this is a string that explains the error. connstr
: Ifstatus
is equal to0
, this is the connection string that is returned.