provisioning-code/.ncl-cache/909d174e379f349aeb308c5cacca6606473508158ca78b59baf0e81845f124c4.json

265 lines
6.1 KiB
JSON

{
"BatchOperationTypes": [
"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"
],
"BatchProviders": [
"upcloud",
"aws",
"local",
"mixed",
"custom"
],
"DefaultAutoscaling": {
"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
},
"DefaultBatchConfig": {
"api_endpoints": [],
"audit_log_path": "./logs/batch_audit.log",
"audit_logging": true,
"autoscaling": {
"cooldown_period": 300,
"enabled": true,
"max_parallel": 8,
"min_parallel": 2,
"scale_down_threshold": 0.2,
"scale_step": 1,
"scale_up_threshold": 0.8,
"target_utilization": 0.7
},
"description": "Default configuration-driven batch executor for provisioning operations",
"executor_id": "default_batch_executor",
"name": "Default Batch Executor",
"performance_config": {
"batch_size": "100",
"io_threads": "4",
"worker_threads": "8"
},
"provider_config": {
"cross_provider_networking": {},
"primary_provider": "upcloud",
"provider_limits": {},
"provider_selection": "primary_first",
"secondary_providers": [
"aws",
"local"
]
},
"queues": [],
"resource_constraints": [],
"scheduler": {
"enable_preemption": false,
"resource_limits": {
"max_cpu_cores": 8,
"max_memory_mb": 16384,
"max_network_bandwidth": 1000
},
"scheduling_interval": 10,
"strategy": "dependency_first"
},
"security_config": {},
"webhook_endpoints": []
},
"DefaultExecutor": {
"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": []
},
"DefaultHealthCheck": {
"check_interval": 60,
"check_timeout": 30,
"enabled": true,
"failure_actions": [
"retry",
"rollback"
],
"failure_threshold": 3,
"health_checks": [],
"success_threshold": 2
},
"DefaultMetrics": {
"aggregation_intervals": [
60,
300,
3600
],
"custom_metrics": [],
"detailed_metrics": true,
"enable_export": false,
"export_config": {},
"retention_hours": 168
},
"DefaultProviderMixConfig": {
"cross_provider_networking": {},
"primary_provider": "upcloud",
"provider_limits": {},
"provider_selection": "primary_first",
"secondary_providers": []
},
"DefaultQueue": {
"max_delivery_attempts": 3,
"max_size": 0,
"queue_id": "",
"queue_type": "standard",
"retention_period": 604800
},
"DefaultResourceConstraint": {
"current_units": 0,
"hard_constraint": true,
"max_units": 1,
"resource_name": "",
"resource_type": "cpu",
"units_per_operation": 1
},
"DefaultScheduler": {
"enable_preemption": false,
"resource_limits": {
"max_cpu_cores": 0,
"max_memory_mb": 0,
"max_network_bandwidth": 0
},
"scheduling_interval": 10,
"strategy": "dependency_first"
},
"defaults": {
"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"
}
}
}