mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-04 05:53:12 +00:00
Add workflow template for parsing logs collected by Vector from Kubernetes pods, with semaphore synchronization to prevent concurrent access conflicts. - log-parsing-workflow-template-vector: New workflow template that scales down Vector aggregator to access RWO PVC, parses JSONL logs, then scales aggregator back up - vector-log-parsing-semaphore: ConfigMap semaphore limiting to one log parsing workflow at a time (prevents RWO PVC mount conflicts) - codex-workflows-rbac: Added deployment get/patch/update permissions to executor role (required for scaling Vector aggregator) Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
12 lines
370 B
YAML
12 lines
370 B
YAML
# Semaphore for Vector log parsing workflow synchronization
|
|
# Ensures only one log parsing workflow can run at a time to avoid conflicts
|
|
# with the RWO vector-logs-pvc and Vector aggregator scaling
|
|
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: vector-log-parsing-semaphore
|
|
namespace: argo
|
|
data:
|
|
workflow: "1" # Only 1 workflow can hold this semaphore at a time
|