48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
# Agent ConfigMap in dexorder-agents namespace
|
|
# This is mounted into dynamically created agent pods
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: agent-config
|
|
namespace: dexorder-agents
|
|
labels:
|
|
app.kubernetes.io/name: agent
|
|
app.kubernetes.io/component: config
|
|
data:
|
|
config.yaml: |
|
|
# Default configuration for user agent containers
|
|
# This is mounted at /app/config/config.yaml in agent pods
|
|
|
|
# Data directory for persistent storage (workspace, strategies, etc.)
|
|
# This is mounted as a PVC at /app/data
|
|
data_dir: "/app/data"
|
|
|
|
# User-specific settings (defaults, can be overridden per-user)
|
|
user:
|
|
timezone: "UTC"
|
|
|
|
# Data sources
|
|
data:
|
|
iceberg:
|
|
catalog_name: "dexorder"
|
|
# Catalog properties loaded from secrets
|
|
|
|
relay:
|
|
endpoint: "tcp://relay.dexorder.svc.cluster.local:5560"
|
|
timeout_ms: 5000
|
|
|
|
# Strategy settings
|
|
strategies:
|
|
max_concurrent: 5
|
|
default_timeout_minutes: 60
|
|
|
|
# Alert settings
|
|
alerts:
|
|
max_active: 100
|
|
|
|
# Logging
|
|
logging:
|
|
level: "INFO"
|
|
include_timestamps: true
|