114 lines
2.6 KiB
JSON
114 lines
2.6 KiB
JSON
{
|
|
"orchestrator": {
|
|
"batch": {
|
|
"checkpointing": {
|
|
"enabled": true,
|
|
"interval": 100,
|
|
"max_checkpoints": 10
|
|
},
|
|
"metrics": false,
|
|
"operation_timeout_minutes": 3,
|
|
"parallel_limit": 2,
|
|
"rollback": {
|
|
"enabled": true,
|
|
"max_rollback_depth": 5,
|
|
"strategy": "checkpoint_based"
|
|
}
|
|
},
|
|
"build": {
|
|
"base_image": "rust:1.82-trixie",
|
|
"binary": "provisioning-orchestrator",
|
|
"buildkit": {
|
|
"cache_mode": "local",
|
|
"inline_cache": false,
|
|
"parallel_jobs": 2
|
|
},
|
|
"chef_enabled": true,
|
|
"config_file": "config.defaults.toml",
|
|
"extra_runtime_pkgs": [],
|
|
"features": [],
|
|
"health_path": "/health",
|
|
"package": "provisioning-orchestrator",
|
|
"port": 9090,
|
|
"runtime_image": "debian:trixie-slim",
|
|
"sccache": {
|
|
"bucket": "rust-cache",
|
|
"enabled": false,
|
|
"region": ""
|
|
},
|
|
"user_id": 1000
|
|
},
|
|
"extensions": {
|
|
"auto_load": false,
|
|
"discovery_interval": 300,
|
|
"max_concurrent": 2,
|
|
"sandbox": true,
|
|
"timeout": 30000
|
|
},
|
|
"logging": {
|
|
"format": "text",
|
|
"level": "info"
|
|
},
|
|
"monitoring": {
|
|
"enabled": false,
|
|
"health_check": {
|
|
"enabled": false,
|
|
"interval": 30
|
|
},
|
|
"metrics": {
|
|
"enabled": false,
|
|
"interval": 60
|
|
},
|
|
"resources": {
|
|
"alert_threshold": 80,
|
|
"cpu": false,
|
|
"disk": false,
|
|
"memory": false,
|
|
"network": false
|
|
}
|
|
},
|
|
"performance": {
|
|
"cpu_affinity": false,
|
|
"profiling": false
|
|
},
|
|
"queue": {
|
|
"dead_letter_queue": {
|
|
"enabled": true,
|
|
"max_size": 1000
|
|
},
|
|
"max_concurrent_tasks": 10,
|
|
"metrics": false,
|
|
"persist": true,
|
|
"priority_queue": false,
|
|
"retry_attempts": 3,
|
|
"retry_delay": 60000,
|
|
"task_timeout": 1800000
|
|
},
|
|
"server": {
|
|
"graceful_shutdown": true,
|
|
"host": "127.0.0.1",
|
|
"keep_alive": 75,
|
|
"max_connections": 512,
|
|
"port": 9011,
|
|
"request_timeout": 30000,
|
|
"shutdown_timeout": 30,
|
|
"workers": 2
|
|
},
|
|
"storage": {
|
|
"backend": "filesystem",
|
|
"cache": {
|
|
"enabled": true,
|
|
"eviction_policy": "lru",
|
|
"ttl": 3600,
|
|
"type": "in_memory"
|
|
},
|
|
"path": "/var/lib/provisioning/orchestrator/data"
|
|
},
|
|
"workspace": {
|
|
"enabled": true,
|
|
"multi_workspace": false,
|
|
"name": "default",
|
|
"path": "/var/lib/provisioning/orchestrator"
|
|
}
|
|
}
|
|
}
|