Deploy a Grid
Create Configuration Metadata and a Kubernetes ConfigMap for a Grid
db.ini
, the adminUser
, and the schema.sql
metadata files for the TimesTen grid and the database. The example also creates a direct and a client/server connectable. The example creates a Kubernetes ConfigMap to place these metadata files into the /ttConfig
directory of the TimesTen containers.
Note:
You can use any Kubernetes mechanism to place these metadata files into the/ttConfig
directory of the TimesTen containers. See Populate the /ttconfig Directory.
On your development host, complete the following steps:
Define and Deploy a TimesTenScaleout Object
Defining your environment involves creating your TimesTenScaleout object with attributes customized for your environment. These attributes are described in the steps below. For additional information on defining objects of type TimesTenScaleout, see TimesTen Scaleout.
To define and create the TimesTenScaleout object, complete the following steps:
You successfully created the TimesTenScaleout object in the Kubernetes cluster. The process of provisioning your TimesTen grid and database begins, but is not yet complete.
Monitor the High Level State of a TimesTenScaleout Object
Use the kubectl
get
and the kubectl
describe
commands to monitor the progress of the grid and database creation.
Note:
For the kubectl
get
timestenscaleout
command, you can alternatively specify kubectl
get
tts
. When used in the kubectl
get
command, timestenscaleout
and tts
are synonymous, and return the same results. The first kubectl
get
examples in this chapter use timestenscaleout
. For simplicity, the remaining examples in this book use tts
.
Your TimesTen Scaleout grid and database are successfully created and provisioned in your Kubernetes cluster. The database is open for connections.
Verify Underlying Objects
The TimesTen Operator creates the following objects for the samplescaleout
TimesTenScaleout object.