About Specifying Requests and Limits to Kubernetes
cpu and memory request and limits to Kubernetes:
-
For the
ttcontainer that holds your TimesTen database, the TimesTen Operator looks for the following in this order:- If you specify a template, the TimesTen Operator uses the values in it.
- If you specify
.spec.ttspec.databaseMemorySize, the TimesTen Operator uses its value. - If there is a
db.inifile, the TimesTen Operator uses the values in it. - If none of the above are true, the TimesTen Operator uses the default.
In addition, if you specified a value for
.spec.ttspec.databaseCPURequest, that value is used as thecpurequest andcpulimit to Kubernetes. -
If you specify resource requests or limits for the
daemonlogcontainer in your container templates in your TimesTenClassic object, the TimesTen Operator honors those requests. If you do not, the TimesTen Operator uses the values you supply in your object's.spec.ttspec.daemonLogMemoryRequestand.spec.ttspec.daemonLogCPURequestdatum. -
If you specify resource requests or limits for the
exportercontainer in your container templates in your TimesTenClassic object, the TimesTen Operator honors those requests. If you do not, the TimesTen Operator uses the values you supply in your object's.spec.ttspec.exporterMemoryRequestand.spec.ttspec.exporterCPURequestdatum.