fetch_ml/configs/scheduler/scheduler.yaml.example
Jeremie Fraeys 86f9ae5a7e
docs(config): reorganize configuration structure and add documentation
Restructure configuration files for better organization:
- Add scheduler configuration examples (scheduler.yaml.example)
- Reorganize worker configs into subdirectories:
  - distributed/ - Multi-node cluster configurations
  - standalone/ - Single-node deployment configs
- Add environment-specific configs:
  - dev-local.yaml, docker-dev.yaml, docker-prod.yaml
  - homelab-secure.yaml, worker-prod.toml
- Add deployment configs for different security modes:
  - docker-standard.yaml, docker-hipaa.yaml, docker-dev.yaml

Add documentation:
- configs/README.md with configuration guidelines
- configs/SECURITY.md with security configuration best practices
2026-02-26 12:04:11 -05:00

32 lines
922 B
Text

# Scheduler Configuration Example
# Copy this to scheduler.yaml and replace placeholders with real values
# DO NOT commit the actual scheduler.yaml with real tokens
scheduler:
bind_addr: "0.0.0.0:7777"
# Auto-generate self-signed certs if files don't exist
auto_generate_certs: true
cert_file: "/etc/fetch_ml/scheduler.crt"
key_file: "/etc/fetch_ml/scheduler.key"
state_dir: "/var/lib/fetch_ml"
default_batch_slots: 3
default_service_slots: 1
starvation_threshold_mins: 5
priority_aging_rate: 0.1
gang_alloc_timeout_secs: 60
acceptance_timeout_secs: 30
metrics_addr: "0.0.0.0:9090"
# Generate tokens using: openssl rand -hex 32
# Example: wkr_abc123... (64 hex chars after wkr_)
worker_tokens:
- id: "worker-01"
token: "wkr_PLACEHOLDER_GENERATE_WITH_OPENSSL_RAND_HEX_32"
- id: "worker-02"
token: "wkr_PLACEHOLDER_GENERATE_WITH_OPENSSL_RAND_HEX_32"