109 lines
2.3 KiB
JSON
109 lines
2.3 KiB
JSON
{
|
|
"autoscaling": {
|
|
"cooldown_period": 300,
|
|
"enabled": false,
|
|
"max_parallel": 10,
|
|
"min_parallel": 1,
|
|
"scale_down_threshold": 0.2,
|
|
"scale_step": 1,
|
|
"scale_up_threshold": 0.8,
|
|
"target_utilization": 0.6
|
|
},
|
|
"executor": {
|
|
"api_endpoints": [],
|
|
"audit_log_path": "./logs/batch_audit.log",
|
|
"audit_logging": true,
|
|
"description": "",
|
|
"executor_id": "",
|
|
"name": "",
|
|
"performance_config": {
|
|
"batch_size": "100",
|
|
"io_threads": "4",
|
|
"worker_threads": "8"
|
|
},
|
|
"queues": [],
|
|
"resource_constraints": [],
|
|
"security_config": {},
|
|
"webhook_endpoints": []
|
|
},
|
|
"health_check": {
|
|
"check_interval": 60,
|
|
"check_timeout": 30,
|
|
"enabled": true,
|
|
"failure_actions": [
|
|
"retry",
|
|
"rollback"
|
|
],
|
|
"failure_threshold": 3,
|
|
"health_checks": [],
|
|
"success_threshold": 2
|
|
},
|
|
"metrics": {
|
|
"aggregation_intervals": [
|
|
60,
|
|
300,
|
|
3600
|
|
],
|
|
"custom_metrics": [],
|
|
"detailed_metrics": true,
|
|
"enable_export": false,
|
|
"export_config": {},
|
|
"retention_hours": 168
|
|
},
|
|
"operation_types": [
|
|
"server_create",
|
|
"server_delete",
|
|
"server_scale",
|
|
"server_update",
|
|
"taskserv_install",
|
|
"taskserv_remove",
|
|
"taskserv_update",
|
|
"taskserv_configure",
|
|
"cluster_create",
|
|
"cluster_delete",
|
|
"cluster_scale",
|
|
"cluster_upgrade",
|
|
"custom_command",
|
|
"custom_script",
|
|
"custom_api_call"
|
|
],
|
|
"provider_mix": {
|
|
"cross_provider_networking": {},
|
|
"primary_provider": "upcloud",
|
|
"provider_limits": {},
|
|
"provider_selection": "primary_first",
|
|
"secondary_providers": []
|
|
},
|
|
"providers": [
|
|
"upcloud",
|
|
"aws",
|
|
"local",
|
|
"mixed",
|
|
"custom"
|
|
],
|
|
"queue": {
|
|
"max_delivery_attempts": 3,
|
|
"max_size": 0,
|
|
"queue_id": "",
|
|
"queue_type": "standard",
|
|
"retention_period": 604800
|
|
},
|
|
"resource_constraint": {
|
|
"current_units": 0,
|
|
"hard_constraint": true,
|
|
"max_units": 1,
|
|
"resource_name": "",
|
|
"resource_type": "cpu",
|
|
"units_per_operation": 1
|
|
},
|
|
"scheduler": {
|
|
"enable_preemption": false,
|
|
"resource_limits": {
|
|
"max_cpu_cores": 0,
|
|
"max_memory_mb": 0,
|
|
"max_network_bandwidth": 0
|
|
},
|
|
"scheduling_interval": 10,
|
|
"strategy": "dependency_first"
|
|
}
|
|
}
|