About Specifying Requests and Limits for TimesTen Containers
The TimesTen Operator provides default values for memory and CPU requests for the daemonlog and exporter containers. You can override these defaults by specifying specific datum in the .spec.ttspec section of your TimesTenClassic object definitions.
-
daemonLogMemoryRequest -
daemonLogCPURequest -
exporterMemoryRequest -
exporterCPURequest
The TimesTen Operator does not provide a default value for the CPU request of a tt container. If you want to specify a value for this CPU request, use the .spec.ttspec.databaseCPURequest datum in your TimesTenClassic object definition. See TimesTenClassicSpecSpec.
-
Use specific datum in
.spec.ttspecfor requests and limits: This is the default approach and the approach we recommend. The TimesTen Operator provides specific datum in the.spec.ttspecsection of your TimesTenClassic object definition and passes the information in these datum to Kubernetes. The TimesTen Operator also automatically determines an appropriate memory request and limit for yourttcontainers. -
Use templates for requests and limits: This approach uses memory and CPU requests and limits information in templates. In this approach, you specify values for memory and CPU requests for the TimesTen containers. The TimesTen Operator passes this information to Kubernetes.
The specific datum are discussed in detail in subsequent sections in this chapter.
-
automaticMemoryRequests -
databaseCPURequest -
databaseMemorySize -
additionalMemoryRequest -
memoryWarningPercent
For details about these datum, see TimesTenClassicSpecSpec.