Revert to Manual Control
If you want to manually operate and control TimesTen databases, you can delete the timesten-operator
Deployment. This causes the TimesTen Operator to stop. It does not restart. This affects all of the TimesTenClassic objects that are running in your Kubernetes namespace. If you do not want the TimesTen Operator to stop managing all of the TimesTenClassic objects, you can suspend the management of individual TimesTenClassic objects. See About Suspending Management of a TimesTenClassic Object.
A TimesTenClassic object remains in Kubernetes as do other Kubernetes objects associated with the TimesTenClassic object. You can use the kubectl
exec
-it
command to invoke a shell in one or more Pods and you can control Timesten running in those Pods.
If a Pod fails, Kubernetes creates new ones to replace them. This is due to the StatefulSet object that the TimesTen Operator had previously created in Kubernetes. However, since the TimesTen Operator is not running the new Pods, it cannot automatically start TimesTen. In this case, your TimesTen databases cannot be configured or started. You are responsible for the operation of TimesTen in the Pods.
If you want the TimesTen Operator to take control, you must redeploy the Operator. Once the Operator is redeployed, it automatically identifies the TimesTenClassic objects in your Kubernetes cluster and attempts to manage them again.
This example shows you how to manually control TimesTen.