About Runtime Memory Monitoring

The TimesTen Operator monitors the memory usage of TimesTen Pods at runtime. It informs you of the following:
  • If any tt containers are approaching their specified memory limits.

  • If any TimesTen containers have been terminated by the Linux OOM killer.

Kubernetes Events are generated to report on these conditions.

Every .spec.ttspec.pollingInterval seconds, the TimesTen agent in each tt container queries the container's underlying Linux cgroup to determine the cgroup's memory.limit_in_bytes and memory.usage_in_bytes and reports these values to the TimesTen Operator. The Kubernetes status of each container is similarly queried. The TimesTen Operator uses this data to generate appropriate Events as needed.

If the usage is greater than .spec.ttspec.memoryWarningPercent of the limit, an Event is generated to notify you. In addition, if the TimesTen Operator observes that one or more of the TimesTen related containers have been terminated or restarted (by the OOM killer or otherwise), the TimesTen Operator reports the observation by using appropriate Events.