2 Deploy the TimesTen Operator

TimesTen Database for OKE deploys the TimesTen Operator in a specified namespace in an existing OKE cluster—the Pod for the TimesTen Operator can reside on any of the worker nodes already available in the cluster. It also creates a managed node pool on the same cluster for the later deployment of TimesTen databases. If there are no available node pools, the stack uses a worker node from the new node pool to deploy the TimesTen Operator.

To deploy the TimesTen Operator, the stack performs the following operations:

  • If the Kubernetes API endpoint for OKE cluster is in a private subnet or you specified a private subnet for the worker nodes of the new node pool, creates temporary bastion and the necessary resources (a subnet, security rule, and bastion session) to access the OKE cluster.

  • Creates a managed node pool in your OKE cluster with the specified number of worker nodes in the selected architecture.

  • Using the provided Kubernetes Secret for Oracle Container Registry, pulls the latest TimesTen container image into a temporary host in Resource Manager.

  • Creates a temporary container from the TimesTen container image and extracts the ttcrd, ttoperator, and ttclassic Helm charts.

  • Installs the TimesTen Custom Resource Definition (CRD) using the ttcrd Helm chart.

  • Creates a custom YAML file for the ttoperator Helm chart with the parameters for:

    • The TimesTen container image

    • The Secret for Oracle Container Registry

    • The architecture (amd64) of the worker nodes created by the stack

    • The environment label that ensures TimesTen databases are only created by the TimesTen Operator on worker nodes created by the stack

  • Deploys the TimesTen Operator in the specified namespace using the custom YAML file and the ttoperator Helm chart.

    Note:

    The deployment process creates and deploys the service account, role, and rolebinding objects required to run the TimesTen Operator in the specified namespace.

  • Deletes all temporary resources.