Compare commits

...
Author SHA1 Message Date
Cédric Verstraeten 774ef07d43 Throttle latestMedia snapshot updates
Add a configurable interval for device latestMedia writes, defaulting to 300 seconds, and pass it to the monitor as an environment variable. Document the setting and bump the chart version.
2026-10-05 19:09:42 +02:00
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.150.0
version: 0.151.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+1
View File
@@ -511,6 +511,7 @@ kerberospipeline:
| `kerberospipeline.monitor.tag` | The Docker image tag/version. | `"v1.3.9"` |
| `kerberospipeline.monitor.replicas` | Number of replicas for `kerberospipeline.monitor`. | `1` |
| `kerberospipeline.monitor.logLevel` | Monitor log level. Set to `debug` for per-event processing checkpoints. | `"info"` |
| `kerberospipeline.monitor.latestMediaUpdateIntervalSeconds` | Minimum recording-time gap, in seconds, between writes of a device's `latestMedia` snapshot. Reduces writes to the devices collection; the device's latest recording can lag by up to this interval. `0` writes on every recording. | `300` |
| `kerberospipeline.monitor.resources.requests.memory` | Memory request for `kerberospipeline.monitor`. | `"10Mi"` |
| `kerberospipeline.monitor.resources.requests.cpu` | CPU request for `kerberospipeline.monitor`. | `"10m"` |
| `kerberospipeline.sequence.repository` | The [sequencer microservice](https://doc.kerberos.io/hub/pipeline/#sequencer), grouping recordings in chunks/groups. | `"ghcr.io/uug-ai/hub-pipeline-sequence"` |
@@ -71,6 +71,8 @@ spec:
# Application
- name: LOG_LEVEL
value: "{{ .Values.kerberospipeline.monitor.logLevel }}"
- name: LATEST_MEDIA_UPDATE_INTERVAL_SECONDS
value: {{ .Values.kerberospipeline.monitor.latestMediaUpdateIntervalSeconds | quote }}
# Queue
- name: QUEUE_SYSTEM
+4
View File
@@ -1103,6 +1103,10 @@ kerberospipeline:
# - name: extra
# mountPath: /data
logLevel: "info" # possible values: debug, info, warn, error
# Minimum recording-time gap (seconds) between two writes of a device's
# latestMedia snapshot; 0 writes on every recording. Requires hub-pipeline-monitor
# with latest-media throttling (older images ignore it).
latestMediaUpdateIntervalSeconds: 300
resources:
requests:
memory: 10Mi