About Specifying Requests and Limits to Kubernetes
cpu
and memory
request and limits to Kubernetes:
-
For the
tt
container 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.ini
file, 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 thecpu
request andcpu
limit to Kubernetes. -
If you specify resource requests or limits for the
daemonlog
container in your container templates in your TimesTenClassic or TimesTenScaleout 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.daemonLogMemoryRequest
and.spec.ttspec.daemonLogCPURequest
datum. -
If you specify resource requests or limits for the
exporter
container in your container templates in your TimesTenClassic or TimesTenScaleout 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.exporterMemoryRequest
and.spec.ttspec.exporterCPURequest
datum. -
If you specify a template for the
tt
container in themgmtTemplate
in a TimesTenScaleout object, the TimesTen Operator uses the resource data in that template. If you do not, the TimesTen Operator uses the values you supply in your object's.spec.ttspec.mgmtMemoryRequest
and.spec.ttspec.mgmtCPURequest
datum. -
If you specify a template for the
zookeeper
container in thezookeeperTemplate
in a TimesTenScaleout object, the TimesTen Operator uses the resource data in that template. If you do not, the TimesTen Operator uses the values you supply in your object's.spec.ttspec.zookeeperMemoryRequest
and.spec.ttspec.zookeeperCPURequest
datum.