Locate the Operator

The Operator is configured in your Kubernetes cluster using a Deployment. Kubernetes automatically monitors the Operator and restarts it if it fails. The Operator runs in a Pod and the name of the Operator begins with timesten-operator, followed by arbitrary characters to make the name unique. If you specify multiple replicas when you deploy the Operator, there are multiple Pods. Only one Pod is active at a time. The remainder of the Pods wait for the active to fail, and if it does, then one of the Pods becomes active. Active standby pairs of TimesTen databases, provisioned by the Operator, continue to function if the Operator fails. When a new Operator is started by Kubernetes, it automatically monitors and manages all existing active standby pairs of databases.

Use the kubectl get pods command to display the Pods that are running the Operator. In this example, there is one Pod for the Operator. When you deployed the Operator, you specified the value of 1 for the replicas field. Therefore, Kubernetes created one Pod. See About Deploying the TimesTen Operator.

% kubectl get pods
NAME                                        READY   STATUS    RESTARTS   AGE
timesten-operator-5d7dcc7948-8mnz4          1/1     Running   0          3m21s