Obtain TimesTen YAML Manifest Files and Helm Charts

TimesTen provides YAML manifest files and Helm charts in TimesTen container images. You use these files and charts to install the TimesTen Operator and create TimesTen databases in your Kubernetes cluster.

Now that you have completed the tasks to obtain and use a TimesTen container image in your Kubernetes environment, you can use this container image to obtain TimesTen YAML manifest files and Helm charts. To do so, you create a container from the container image and copy the TimesTen YAML manifest files and Helm charts from the container to a location on your development host.

In this example, let's use a container image located on Oracle Container Registry. If you are using a container image in another location, use it instead. Let's walk through the steps to copy the TimesTen YAML manifest files and Helm charts from this container image to a directory on your development host. This example uses container-registry.oracle.com/timesten/timesten:22.1.1.34.0.

  1. On your development host, from a directory of your choice, create a subdirectory for the TimesTen YAML manifest files and Helm charts. This example creates the kube_files subdirectory.
    mkdir -p kube_files
  2. Create a new container from the container-registry.oracle.com/timesten/timesten:22.1.1.34.0 image, supplying a name for the new container. In this example, the name of the container is ttoper.
    docker create --name ttoper container-registry.oracle.com/timesten/timesten:22.1.1.34.0
  3. Copy the YAML manifest files and Helm charts from the ttoper container to the kube_files directory on your development host. The ttoper:/timesten/operator/deploy directory contains the YAML manifest files and the ttoper:/timesten/operator/helm directory contains the Helm charts.
    docker cp ttoper:/timesten/operator/deploy kube_files
    docker cp ttoper:/timesten/operator/helm kube_files
    Verify the directories exist on your development host.
    ls kube_files/*
    The output is the following:
    kube_files/deploy:
    crd.yaml  operator.yaml  service_account.yaml service_account_cluster.yaml
    
    kube_files/helm:
    ttclassic  ttcrd  ttoperator

    The deploy directory contains the TimesTen YAML manifest files and the helm directory contains the TimesTen Helm charts. You use these files later to deploy the TimesTen Operator and create TimesTen databases.

  4. Remove the ttoper container.
    docker rm ttoper
  5. Remove the TimesTen container image.
    docker image rm container-registry.oracle.com/timesten/timesten:22.1.1.34.0

Congratulations! You successfully obtained the TimesTen YAML manifest files and Helm charts.

Next Steps

You are now ready to install the TimesTen Custom Resource Definitions (CRDs). See the next chapter Install TimesTen Custom Resource Definitions.