{ "batch": { "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" } } }, "cluster": { "DefaultCluster": { "def": "", "local_def_path": "./clusters/${name}", "name": "", "not_use": false, "version": "" }, "defaults": { "cluster": { "def": "", "local_def_path": "./clusters/${name}", "name": "", "not_use": false, "version": "" } } }, "commands": { "AuthLogin": { "aliases": [ "login" ], "description": "Authenticate user with JWT", "domain": "authentication", "estimated_time": 2, "form_path": "provisioning/core/shlib/forms/authentication/auth_login.toml", "name": "auth login", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "ClusterCreate": { "aliases": [ "cluster c", "create cluster", "cl create" ], "description": "Create new cluster", "domain": "infrastructure", "estimated_time": 300, "name": "cluster create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "DefaultCommandMetadata": { "aliases": [], "description": "", "domain": "infrastructure", "estimated_time": 1, "name": "", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "DefaultCommandRegistry": { "commands": { "auth login": { "aliases": [ "login" ], "description": "Authenticate user with JWT", "domain": "authentication", "estimated_time": 2, "form_path": "provisioning/core/shlib/forms/authentication/auth_login.toml", "name": "auth login", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "cluster create": { "aliases": [ "cluster c", "create cluster", "cl create" ], "description": "Create new cluster", "domain": "infrastructure", "estimated_time": 300, "name": "cluster create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "help": { "aliases": [ "h", "-h", "--help" ], "description": "Show help information", "domain": "utilities", "estimated_time": 1, "name": "help", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "mfa enroll": { "aliases": [ "mfa-enroll", "mfa setup" ], "description": "Enroll in multi-factor authentication", "domain": "authentication", "estimated_time": 30, "form_path": "provisioning/core/shlib/forms/authentication/mfa_enroll.toml", "name": "mfa enroll", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "write", "requires_auth": true, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "server create": { "aliases": [ "server c", "create server", "s create" ], "description": "Create new servers from configuration", "domain": "infrastructure", "estimated_time": 120, "name": "server create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": true, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "server delete": { "aliases": [ "server d", "delete server", "s delete" ], "description": "Delete existing servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/server_delete_confirm.toml", "name": "server delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "server list": { "aliases": [ "server ls", "ls server", "s list" ], "description": "List all servers", "domain": "infrastructure", "estimated_time": 5, "name": "server list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": true } }, "setup": { "aliases": [ "setup wizard", "st" ], "description": "Interactive system setup wizard", "domain": "configuration", "estimated_time": 120, "form_path": "provisioning/core/forminquire/templates/setup-wizard.form.j2", "name": "setup", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "admin", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "taskserv create": { "aliases": [ "taskserv c", "task create", "t create" ], "description": "Install task service on servers", "domain": "infrastructure", "estimated_time": 180, "name": "taskserv create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "taskserv delete": { "aliases": [ "taskserv d", "task delete", "t delete" ], "description": "Remove task service from servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/taskserv_delete_confirm.toml", "name": "taskserv delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "version": { "aliases": [ "v", "-v", "--version" ], "description": "Show version information", "domain": "utilities", "estimated_time": 1, "name": "version", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace init": { "aliases": [ "workspace create", "ws init", "ws create" ], "description": "Initialize new workspace interactively", "domain": "workspace", "estimated_time": 30, "form_path": "provisioning/core/forminquire/templates/workspace-init.form.j2", "name": "workspace init", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "workspace list": { "aliases": [ "workspace ls", "ws list", "ws ls" ], "description": "List all registered workspaces", "domain": "workspace", "estimated_time": 1, "name": "workspace list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace switch": { "aliases": [ "workspace activate", "ws switch", "ws activate" ], "description": "Switch active workspace", "domain": "workspace", "estimated_time": 2, "name": "workspace switch", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } } }, "version": "1.0.0" }, "DefaultCommandRequirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false }, "HelpCommand": { "aliases": [ "h", "-h", "--help" ], "description": "Show help information", "domain": "utilities", "estimated_time": 1, "name": "help", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "MfaEnroll": { "aliases": [ "mfa-enroll", "mfa setup" ], "description": "Enroll in multi-factor authentication", "domain": "authentication", "estimated_time": 30, "form_path": "provisioning/core/shlib/forms/authentication/mfa_enroll.toml", "name": "mfa enroll", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "write", "requires_auth": true, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "ServerCreate": { "aliases": [ "server c", "create server", "s create" ], "description": "Create new servers from configuration", "domain": "infrastructure", "estimated_time": 120, "name": "server create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": true, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "ServerDelete": { "aliases": [ "server d", "delete server", "s delete" ], "description": "Delete existing servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/server_delete_confirm.toml", "name": "server delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "ServerList": { "aliases": [ "server ls", "ls server", "s list" ], "description": "List all servers", "domain": "infrastructure", "estimated_time": 5, "name": "server list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": true } }, "SetupWizard": { "aliases": [ "setup wizard", "st" ], "description": "Interactive system setup wizard", "domain": "configuration", "estimated_time": 120, "form_path": "provisioning/core/forminquire/templates/setup-wizard.form.j2", "name": "setup", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "admin", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "TaskservCreate": { "aliases": [ "taskserv c", "task create", "t create" ], "description": "Install task service on servers", "domain": "infrastructure", "estimated_time": 180, "name": "taskserv create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "TaskservDelete": { "aliases": [ "taskserv d", "task delete", "t delete" ], "description": "Remove task service from servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/taskserv_delete_confirm.toml", "name": "taskserv delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "VersionCommand": { "aliases": [ "v", "-v", "--version" ], "description": "Show version information", "domain": "utilities", "estimated_time": 1, "name": "version", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "WorkspaceInit": { "aliases": [ "workspace create", "ws init", "ws create" ], "description": "Initialize new workspace interactively", "domain": "workspace", "estimated_time": 30, "form_path": "provisioning/core/forminquire/templates/workspace-init.form.j2", "name": "workspace init", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "WorkspaceList": { "aliases": [ "workspace ls", "ws list", "ws ls" ], "description": "List all registered workspaces", "domain": "workspace", "estimated_time": 1, "name": "workspace list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "WorkspaceSwitch": { "aliases": [ "workspace activate", "ws switch", "ws activate" ], "description": "Switch active workspace", "domain": "workspace", "estimated_time": 2, "name": "workspace switch", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "defaults": { "auth_login": { "aliases": [ "login" ], "description": "Authenticate user with JWT", "domain": "authentication", "estimated_time": 2, "form_path": "provisioning/core/shlib/forms/authentication/auth_login.toml", "name": "auth login", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "cluster_create": { "aliases": [ "cluster c", "create cluster", "cl create" ], "description": "Create new cluster", "domain": "infrastructure", "estimated_time": 300, "name": "cluster create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "command_metadata": { "aliases": [], "description": "", "domain": "infrastructure", "estimated_time": 1, "name": "", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "command_registry": { "commands": { "auth login": { "aliases": [ "login" ], "description": "Authenticate user with JWT", "domain": "authentication", "estimated_time": 2, "form_path": "provisioning/core/shlib/forms/authentication/auth_login.toml", "name": "auth login", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "cluster create": { "aliases": [ "cluster c", "create cluster", "cl create" ], "description": "Create new cluster", "domain": "infrastructure", "estimated_time": 300, "name": "cluster create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "help": { "aliases": [ "h", "-h", "--help" ], "description": "Show help information", "domain": "utilities", "estimated_time": 1, "name": "help", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "mfa enroll": { "aliases": [ "mfa-enroll", "mfa setup" ], "description": "Enroll in multi-factor authentication", "domain": "authentication", "estimated_time": 30, "form_path": "provisioning/core/shlib/forms/authentication/mfa_enroll.toml", "name": "mfa enroll", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "write", "requires_auth": true, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "server create": { "aliases": [ "server c", "create server", "s create" ], "description": "Create new servers from configuration", "domain": "infrastructure", "estimated_time": 120, "name": "server create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": true, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "server delete": { "aliases": [ "server d", "delete server", "s delete" ], "description": "Delete existing servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/server_delete_confirm.toml", "name": "server delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "server list": { "aliases": [ "server ls", "ls server", "s list" ], "description": "List all servers", "domain": "infrastructure", "estimated_time": 5, "name": "server list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": true } }, "setup": { "aliases": [ "setup wizard", "st" ], "description": "Interactive system setup wizard", "domain": "configuration", "estimated_time": 120, "form_path": "provisioning/core/forminquire/templates/setup-wizard.form.j2", "name": "setup", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "admin", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "taskserv create": { "aliases": [ "taskserv c", "task create", "t create" ], "description": "Install task service on servers", "domain": "infrastructure", "estimated_time": 180, "name": "taskserv create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "taskserv delete": { "aliases": [ "taskserv d", "task delete", "t delete" ], "description": "Remove task service from servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/taskserv_delete_confirm.toml", "name": "taskserv delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "version": { "aliases": [ "v", "-v", "--version" ], "description": "Show version information", "domain": "utilities", "estimated_time": 1, "name": "version", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace init": { "aliases": [ "workspace create", "ws init", "ws create" ], "description": "Initialize new workspace interactively", "domain": "workspace", "estimated_time": 30, "form_path": "provisioning/core/forminquire/templates/workspace-init.form.j2", "name": "workspace init", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "workspace list": { "aliases": [ "workspace ls", "ws list", "ws ls" ], "description": "List all registered workspaces", "domain": "workspace", "estimated_time": 1, "name": "workspace list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace switch": { "aliases": [ "workspace activate", "ws switch", "ws activate" ], "description": "Switch active workspace", "domain": "workspace", "estimated_time": 2, "name": "workspace switch", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } } }, "version": "1.0.0" }, "command_requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false }, "help_command": { "aliases": [ "h", "-h", "--help" ], "description": "Show help information", "domain": "utilities", "estimated_time": 1, "name": "help", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "mfa_enroll": { "aliases": [ "mfa-enroll", "mfa setup" ], "description": "Enroll in multi-factor authentication", "domain": "authentication", "estimated_time": 30, "form_path": "provisioning/core/shlib/forms/authentication/mfa_enroll.toml", "name": "mfa enroll", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "write", "requires_auth": true, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "server_create": { "aliases": [ "server c", "create server", "s create" ], "description": "Create new servers from configuration", "domain": "infrastructure", "estimated_time": 120, "name": "server create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": true, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "server_delete": { "aliases": [ "server d", "delete server", "s delete" ], "description": "Delete existing servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/server_delete_confirm.toml", "name": "server delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "server_list": { "aliases": [ "server ls", "ls server", "s list" ], "description": "List all servers", "domain": "infrastructure", "estimated_time": 5, "name": "server list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": true } }, "setup_wizard": { "aliases": [ "setup wizard", "st" ], "description": "Interactive system setup wizard", "domain": "configuration", "estimated_time": 120, "form_path": "provisioning/core/forminquire/templates/setup-wizard.form.j2", "name": "setup", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "admin", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "taskserv_create": { "aliases": [ "taskserv c", "task create", "t create" ], "description": "Install task service on servers", "domain": "infrastructure", "estimated_time": 180, "name": "taskserv create", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": true } }, "taskserv_delete": { "aliases": [ "taskserv d", "task delete", "t delete" ], "description": "Remove task service from servers", "domain": "infrastructure", "estimated_time": 60, "form_path": "provisioning/core/shlib/forms/infrastructure/taskserv_delete_confirm.toml", "name": "taskserv delete", "requirements": { "auth_type": "jwt", "interactive": true, "min_permission": "admin", "requires_auth": true, "requires_confirmation": true, "requires_workspace": true, "rust_optimizable": false, "side_effect_type": "delete", "side_effects": true, "slow_operation": true } }, "version_command": { "aliases": [ "v", "-v", "--version" ], "description": "Show version information", "domain": "utilities", "estimated_time": 1, "name": "version", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace_init": { "aliases": [ "workspace create", "ws init", "ws create" ], "description": "Initialize new workspace interactively", "domain": "workspace", "estimated_time": 30, "form_path": "provisioning/core/forminquire/templates/workspace-init.form.j2", "name": "workspace init", "requirements": { "auth_type": "none", "interactive": true, "min_permission": "write", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "create", "side_effects": true, "slow_operation": false } }, "workspace_list": { "aliases": [ "workspace ls", "ws list", "ws ls" ], "description": "List all registered workspaces", "domain": "workspace", "estimated_time": 1, "name": "workspace list", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } }, "workspace_switch": { "aliases": [ "workspace activate", "ws switch", "ws activate" ], "description": "Switch active workspace", "domain": "workspace", "estimated_time": 2, "name": "workspace switch", "requirements": { "auth_type": "none", "interactive": false, "min_permission": "read", "requires_auth": false, "requires_confirmation": false, "requires_workspace": false, "rust_optimizable": false, "side_effect_type": "none", "side_effects": false, "slow_operation": false } } } }, "defaults": { "DefaultServerDefaults": { "fix_local_hosts": true, "installer_user": "${user}", "labels": "", "lock": false, "network_public_ipv4": true, "network_public_ipv6": false, "network_utility_ipv4": true, "network_utility_ipv6": false, "running_timeout": 200, "running_wait": 10, "storage_os_find": "name: debian-12 | arch: x86_64", "time_zone": "UTC", "user": "", "user_home": "/home/${user}", "user_ssh_port": 22 }, "defaults": { "server_defaults": { "fix_local_hosts": true, "installer_user": "${user}", "labels": "", "lock": false, "network_public_ipv4": true, "network_public_ipv6": false, "network_utility_ipv4": true, "network_utility_ipv6": false, "running_timeout": 200, "running_wait": 10, "storage_os_find": "name: debian-12 | arch: x86_64", "time_zone": "UTC", "user": "", "user_home": "/home/${user}", "user_ssh_port": 22 } } }, "dependencies": { "DefaultDependencyResolution": { "allow_prerelease": false, "conflict_strategy": "error", "max_depth": 10, "pin_versions": true, "strategy": "strict" }, "DefaultExtensionManifest": { "license": "MIT", "name": "", "platforms": [ "linux/amd64" ], "type": "provider", "version": "" }, "DefaultExtensionSource": { "type": "oci" }, "DefaultGiteaSource": { "branch": "main", "organization": "", "url": "", "use_ssh": false }, "DefaultHTTPSource": { "basic_auth": false, "url": "" }, "DefaultHealthCheck": { "command": "", "failure_threshold": 3, "interval": 30, "retries": 3, "success_threshold": 1, "timeout": 10 }, "DefaultInstallationPhase": { "name": "", "order": 0, "parallel": false, "required": true }, "DefaultLocalSource": { "path": "", "watch": false }, "DefaultOCISource": { "insecure_skip_verify": false, "media_type": "application/vnd.kcl.package.v1+tar", "namespace": "", "platform": "linux/amd64", "registry": "", "tls_enabled": false }, "DefaultRepositoryConfig": { "cache_ttl": 3600, "enabled": true, "name": "", "priority": 100, "type": "core" }, "DefaultResourceRequirement": { "cpu": "100m", "disk": "1Gi", "memory": "128Mi", "network": true, "privileged": false }, "DefaultTaskservDependencies": { "arch_support": [ "amd64" ], "name": "", "os_support": [ "linux" ], "retry_count": 3, "timeout": 600 }, "DefaultTaskservDependency": { "arch_support": [ "amd64" ], "name": "", "os_support": [ "linux" ], "retry_count": 3, "timeout": 600 }, "defaults": { "dependency_resolution": { "allow_prerelease": false, "conflict_strategy": "error", "max_depth": 10, "pin_versions": true, "strategy": "strict" }, "extension_manifest": { "license": "MIT", "name": "", "platforms": [ "linux/amd64" ], "type": "provider", "version": "" }, "extension_source": { "type": "oci" }, "gitea_source": { "branch": "main", "organization": "", "url": "", "use_ssh": false }, "health_check": { "command": "", "failure_threshold": 3, "interval": 30, "retries": 3, "success_threshold": 1, "timeout": 10 }, "http_source": { "basic_auth": false, "url": "" }, "installation_phase": { "name": "", "order": 0, "parallel": false, "required": true }, "local_source": { "path": "", "watch": false }, "oci_source": { "insecure_skip_verify": false, "media_type": "application/vnd.kcl.package.v1+tar", "namespace": "", "platform": "linux/amd64", "registry": "", "tls_enabled": false }, "repository_config": { "cache_ttl": 3600, "enabled": true, "name": "", "priority": 100, "type": "core" }, "resource_requirement": { "cpu": "100m", "disk": "1Gi", "memory": "128Mi", "network": true, "privileged": false }, "taskserv_dependencies": { "arch_support": [ "amd64" ], "name": "", "os_support": [ "linux" ], "retry_count": 3, "timeout": 600 }, "taskserv_dependency": { "arch_support": [ "amd64" ], "name": "", "os_support": [ "linux" ], "retry_count": 3, "timeout": 600 } } }, "generator_declaration": { "DefaultChangelog": { "entries": [] }, "DefaultChangelogEntry": { "changes": [], "timestamp": "2025-01-01T00:00:00Z", "version": "1.0.0" }, "DefaultDeploymentConfig": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "DefaultMetadata": { "created_at": "2025-01-01T00:00:00Z", "description": "Default workspace", "name": "default-workspace", "version": "1.0.0" }, "DefaultServerConfig": { "name": "default-server", "provider": "upcloud", "taskservs": [] }, "DefaultTaskservRequirement": { "confidence": 0.5, "name": "default", "profile": "default", "required": true }, "DefaultTechnologyDetection": { "confidence": 0, "name": "unknown" }, "DefaultWorkspace": { "changelog": { "entries": [] }, "declaration": { "deployment": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "detections": [], "metadata": { "name": "default-workspace", "version": "1.0.0" }, "requirements": [] } }, "DefaultWorkspaceDeclaration": { "deployment": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "detections": [], "metadata": { "name": "default-workspace", "version": "1.0.0" }, "requirements": [] }, "defaults": { "changelog": { "entries": [] }, "changelog_entry": { "changes": [], "timestamp": "2025-01-01T00:00:00Z", "version": "1.0.0" }, "default_profile": { "confidence": 1, "profile": "default", "required": true }, "deployment_config": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "empty_changelog": { "entries": [] }, "ha_profile": { "confidence": 1, "profile": "HA", "required": true }, "metadata": { "created_at": "2025-01-01T00:00:00Z", "description": "Default workspace", "name": "default-workspace", "version": "1.0.0" }, "metadata_template": { "created_at": "2025-01-01T00:00:00Z", "description": "Provisioning workspace", "name": "unnamed-workspace", "version": "1.0.0" }, "minimal_profile": { "confidence": 1, "profile": "minimal", "required": true }, "multiuser_deployment": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "server_config": { "name": "default-server", "provider": "upcloud", "taskservs": [] }, "solo_deployment": { "ha_enabled": false, "mode": "solo", "servers": [] }, "taskserv_requirement": { "confidence": 0.5, "name": "default", "profile": "default", "required": true }, "technology_detection": { "confidence": 0, "name": "unknown" }, "workspace": { "changelog": { "entries": [] }, "declaration": { "deployment": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "detections": [], "metadata": { "name": "default-workspace", "version": "1.0.0" }, "requirements": [] } }, "workspace_declaration": { "deployment": { "ha_enabled": false, "mode": "multiuser", "servers": [] }, "detections": [], "metadata": { "name": "default-workspace", "version": "1.0.0" }, "requirements": [] } } }, "gitea": { "DefaultBinaryGitea": { "binary_path": "", "config_path": "", "group": "git", "user": "git", "version": "1.21.0" }, "DefaultDockerGitea": { "container_name": "provisioning-gitea", "environment": { "GITEA__database__DB_TYPE": "sqlite3", "USER_GID": "1000", "USER_UID": "1000" }, "image": "gitea/gitea:1.21", "restart_policy": "unless-stopped", "ssh_port": 222, "volumes": [ "gitea-data:/data", "/etc/timezone:/etc/timezone:ro", "/etc/localtime:/etc/localtime:ro" ] }, "DefaultExtensionPublishConfig": { "compression": "tar.gz", "exclude_patterns": [ "*.tmp", "*.log", ".git/*" ], "extension_path": "", "include_patterns": [ "*.nu", "*.k", "*.toml", "*.md" ], "version": "" }, "DefaultGiteaAuth": { "token_path": "" }, "DefaultGiteaConfig": { "mode": "local" }, "DefaultGiteaIssue": { "body": "", "labels": [], "title": "" }, "DefaultGiteaRelease": { "draft": false, "prerelease": false, "release_name": "", "tag_name": "", "target_commitish": "main" }, "DefaultGiteaRepositories": { "core_repo": "provisioning-core", "extensions_repo": "provisioning-extensions", "organization": "provisioning", "platform_repo": "provisioning-platform", "workspaces_org": "workspaces" }, "DefaultGiteaRepository": { "auto_init": true, "default_branch": "main", "name": "", "owner": "", "private": false }, "DefaultGiteaWebhook": { "active": true, "content_type": "json", "events": [ "push", "pull_request", "release" ], "url": "" }, "DefaultLocalGitea": { "auto_start": false, "data_dir": "~/.provisioning/gitea", "deployment": "docker", "enabled": false, "port": 3000 }, "DefaultRemoteGitea": { "api_url": "", "enabled": false, "url": "" }, "DefaultWorkspaceFeatures": { "auto_sync": false, "branch_protection": false, "git_integration": true, "locking_enabled": true, "webhooks_enabled": false }, "DefaultWorkspaceLock": { "force_unlock": false, "lock_type": "read", "timestamp": "", "user": "", "workspace_name": "" }, "defaults": { "binary_gitea": { "binary_path": "", "config_path": "", "group": "git", "user": "git", "version": "1.21.0" }, "docker_gitea": { "container_name": "provisioning-gitea", "environment": { "GITEA__database__DB_TYPE": "sqlite3", "USER_GID": "1000", "USER_UID": "1000" }, "image": "gitea/gitea:1.21", "restart_policy": "unless-stopped", "ssh_port": 222, "volumes": [ "gitea-data:/data", "/etc/timezone:/etc/timezone:ro", "/etc/localtime:/etc/localtime:ro" ] }, "extension_publish_config": { "compression": "tar.gz", "exclude_patterns": [ "*.tmp", "*.log", ".git/*" ], "extension_path": "", "include_patterns": [ "*.nu", "*.k", "*.toml", "*.md" ], "version": "" }, "gitea_auth": { "token_path": "" }, "gitea_config": { "mode": "local" }, "gitea_issue": { "body": "", "labels": [], "title": "" }, "gitea_release": { "draft": false, "prerelease": false, "release_name": "", "tag_name": "", "target_commitish": "main" }, "gitea_repositories": { "core_repo": "provisioning-core", "extensions_repo": "provisioning-extensions", "organization": "provisioning", "platform_repo": "provisioning-platform", "workspaces_org": "workspaces" }, "gitea_repository": { "auto_init": true, "default_branch": "main", "name": "", "owner": "", "private": false }, "gitea_webhook": { "active": true, "content_type": "json", "events": [ "push", "pull_request", "release" ], "url": "" }, "local_gitea": { "auto_start": false, "data_dir": "~/.provisioning/gitea", "deployment": "docker", "enabled": false, "port": 3000 }, "remote_gitea": { "api_url": "", "enabled": false, "url": "" }, "workspace_features": { "auto_sync": false, "branch_protection": false, "git_integration": true, "locking_enabled": true, "webhooks_enabled": false }, "workspace_lock": { "force_unlock": false, "lock_type": "read", "timestamp": "", "user": "", "workspace_name": "" } } }, "golden_image": { "DefaultGoldenImageBuildJob": { "image_config": {}, "image_name": "", "image_version": "", "job_id": "", "retry_count": 0, "status": "queued" }, "DefaultGoldenImageCache": { "access_count": 0, "cache_id": "", "cached_at": "1970-01-01T00:00:00Z", "checksum": "0000000000000000000000000000000000000000000000000000000000000000", "disk_size_gb": 0, "hit_count": 0, "image_name": "", "image_version": "", "is_valid": true, "storage_format": "qcow2", "storage_path": "" }, "DefaultGoldenImageConfig": { "arch": "x86_64", "auto_updates": true, "base_os": "ubuntu", "build_retries": 3, "build_timeout_minutes": 30, "cache_enabled": true, "cache_ttl_days": 30, "cleanup_package_manager": true, "compression": true, "disk_format": "qcow2", "disk_size_gb": 30, "include_dev_tools": false, "include_kernel_headers": false, "name": "", "optimize": false, "os_version": "22.04", "parallel_builds": false, "security_hardening": false }, "DefaultGoldenImageRegistry": { "builds": [], "cache": [], "created_at": "1970-01-01T00:00:00Z", "images": {}, "location": "", "policy": {}, "registry_id": "", "versions": [] }, "DefaultGoldenImageVersion": { "checksum": "0000000000000000000000000000000000000000000000000000000000000000", "created_at": "1970-01-01T00:00:00Z", "deprecated": false, "image_name": "", "image_path": "", "image_size_gb": 0, "usage_count": 0, "version": "" }, "DefaultImageBuildPolicy": { "auto_cleanup_expired": true, "auto_create_versions": true, "cache_enabled": true, "cache_location": "", "cleanup_interval_hours": 24, "default_arch": "x86_64", "default_cache_ttl_days": 30, "default_compression": true, "default_disk_size_gb": 30, "default_optimize": false, "default_os": "ubuntu", "default_security_hardening": false, "default_version": "22.04", "max_build_time_minutes": 60, "max_cache_size_gb": 500, "max_image_size_gb": 100, "max_parallel_builds": 3, "min_disk_free_percent": 10, "version_naming": "semantic" }, "DefaultImageBuildSteps": { "apply_config": true, "apply_optimizations": false, "apply_security_hardening": false, "cleanup_caches": true, "cleanup_temp_files": true, "compress_image": true, "generate_checksums": true, "install_dependencies": true, "install_taskservs": true, "parallel_install": false, "prepare_base": true, "remove_build_artifacts": true, "run_tests": true, "update_packages": true, "verify_image": true }, "defaults": { "GoldenImageBuildJob": { "image_config": {}, "image_name": "", "image_version": "", "job_id": "", "retry_count": 0, "status": "queued" }, "GoldenImageCache": { "access_count": 0, "cache_id": "", "cached_at": "1970-01-01T00:00:00Z", "checksum": "0000000000000000000000000000000000000000000000000000000000000000", "disk_size_gb": 0, "hit_count": 0, "image_name": "", "image_version": "", "is_valid": true, "storage_format": "qcow2", "storage_path": "" }, "GoldenImageConfig": { "arch": "x86_64", "auto_updates": true, "base_os": "ubuntu", "build_retries": 3, "build_timeout_minutes": 30, "cache_enabled": true, "cache_ttl_days": 30, "cleanup_package_manager": true, "compression": true, "disk_format": "qcow2", "disk_size_gb": 30, "include_dev_tools": false, "include_kernel_headers": false, "name": "", "optimize": false, "os_version": "22.04", "parallel_builds": false, "security_hardening": false }, "GoldenImageRegistry": { "builds": [], "cache": [], "created_at": "1970-01-01T00:00:00Z", "images": {}, "location": "", "policy": {}, "registry_id": "", "versions": [] }, "GoldenImageVersion": { "checksum": "0000000000000000000000000000000000000000000000000000000000000000", "created_at": "1970-01-01T00:00:00Z", "deprecated": false, "image_name": "", "image_path": "", "image_size_gb": 0, "usage_count": 0, "version": "" }, "ImageBuildPolicy": { "auto_cleanup_expired": true, "auto_create_versions": true, "cache_enabled": true, "cache_location": "", "cleanup_interval_hours": 24, "default_arch": "x86_64", "default_cache_ttl_days": 30, "default_compression": true, "default_disk_size_gb": 30, "default_optimize": false, "default_os": "ubuntu", "default_security_hardening": false, "default_version": "22.04", "max_build_time_minutes": 60, "max_cache_size_gb": 500, "max_image_size_gb": 100, "max_parallel_builds": 3, "min_disk_free_percent": 10, "version_naming": "semantic" }, "ImageBuildSteps": { "apply_config": true, "apply_optimizations": false, "apply_security_hardening": false, "cleanup_caches": true, "cleanup_temp_files": true, "compress_image": true, "generate_checksums": true, "install_dependencies": true, "install_taskservs": true, "parallel_install": false, "prepare_base": true, "remove_build_artifacts": true, "run_tests": true, "update_packages": true, "verify_image": true } } }, "integrations_gitops": { "gitops_config": { "default_strategy": "rolling", "dry_run_by_default": false, "enable_audit_log": true, "health_checks": [], "rules": [], "scheduled": [], "webhooks": [] } }, "integrations_main": {}, "integrations_runtime": { "runtime_config": { "check_order": [ "docker", "podman", "orbstack", "colima", "nerdctl" ], "enable_cache": true, "preferred": "docker", "timeout_secs": 5 } }, "k8s_deploy": { "DefaultK8sAffinity": {}, "DefaultK8sAffinityLabelSelector": { "labelSelector": [], "typ": "requiredDuringSchedulingIgnoredDuringExecution" }, "DefaultK8sAffinityMatch": { "key": "", "operator": "In", "values": [] }, "DefaultK8sAntyAffinityLabelSelector": { "labelSelector": [], "typ": "requiredDuringSchedulingIgnoredDuringExecution", "weight": 100 }, "DefaultK8sBackup": { "mount_path": "", "name": "", "typ": "" }, "DefaultK8sConfigMap": { "name": "" }, "DefaultK8sContainers": { "image": "", "imagePull": "IfNotPresent", "name": "main" }, "DefaultK8sDefs": { "cluster_domain": "", "domain": "", "full_domain": "", "name": "", "ns": "", "primary_dom": "" }, "DefaultK8sDeploy": { "bin_apply": true, "create_ns": false, "labels": [], "name": "", "name_in_files": "", "namespace": "default", "prxy_ns": "istio-system", "sel_labels": [], "spec": {}, "tls_path": "ssl", "tpl_labels": [] }, "DefaultK8sDeploySpec": { "containers": [], "hostUsers": true, "replicas": 1 }, "DefaultK8sIngressConfig": { "tls_enabled": true }, "DefaultK8sKeyPath": { "key": "", "path": "" }, "DefaultK8sKeyVal": { "key": "", "value": "" }, "DefaultK8sPort": { "name": "", "typ": "TCP" }, "DefaultK8sPrxyGatewayServer": { "port": {} }, "DefaultK8sPrxyPort": { "name": "", "proto": "HTTPS" }, "DefaultK8sPrxyTLS": { "httpsRedirect": false, "mode": "SIMPLE" }, "DefaultK8sPrxyVirtualService": { "gateways": [], "hosts": [] }, "DefaultK8sPrxyVirtualServiceMatch": { "typ": "tcp" }, "DefaultK8sPrxyVirtualServiceMatchURL": {}, "DefaultK8sPrxyVirtualServiceRoute": { "host": "", "port_number": 0 }, "DefaultK8sResources": { "cpu": "250m", "memory": "64Mi" }, "DefaultK8sSecret": { "items": [], "name": "" }, "DefaultK8sService": { "name": "", "ports": [], "proto": "TCP", "typ": "ClusterIP" }, "DefaultK8sServiceMeshConfig": { "mtls_enabled": true, "tracing_enabled": true }, "DefaultK8sVolume": { "name": "", "typ": "volumeClaim" }, "DefaultK8sVolumeClaim": { "abbrev_mode": [ "RWO" ], "modes": [ "ReadWriteOnce" ], "name": "", "reclaimPolicy": "Retain", "storageClassName": "manual", "typ": "empty" }, "DefaultK8sVolumeMount": { "mountPath": "", "name": "", "readOnly": false }, "defaults": { "K8sAffinity": {}, "K8sAffinityLabelSelector": { "labelSelector": [], "typ": "requiredDuringSchedulingIgnoredDuringExecution" }, "K8sAffinityMatch": { "key": "", "operator": "In", "values": [] }, "K8sAntyAffinityLabelSelector": { "labelSelector": [], "typ": "requiredDuringSchedulingIgnoredDuringExecution", "weight": 100 }, "K8sBackup": { "mount_path": "", "name": "", "typ": "" }, "K8sConfigMap": { "name": "" }, "K8sContainers": { "image": "", "imagePull": "IfNotPresent", "name": "main" }, "K8sDefs": { "cluster_domain": "", "domain": "", "full_domain": "", "name": "", "ns": "", "primary_dom": "" }, "K8sDeploy": { "bin_apply": true, "create_ns": false, "labels": [], "name": "", "name_in_files": "", "namespace": "default", "prxy_ns": "istio-system", "sel_labels": [], "spec": {}, "tls_path": "ssl", "tpl_labels": [] }, "K8sDeploySpec": { "containers": [], "hostUsers": true, "replicas": 1 }, "K8sIngressConfig": { "tls_enabled": true }, "K8sKeyPath": { "key": "", "path": "" }, "K8sKeyVal": { "key": "", "value": "" }, "K8sPort": { "name": "", "typ": "TCP" }, "K8sPrxyGatewayServer": { "port": {} }, "K8sPrxyPort": { "name": "", "proto": "HTTPS" }, "K8sPrxyTLS": { "httpsRedirect": false, "mode": "SIMPLE" }, "K8sPrxyVirtualService": { "gateways": [], "hosts": [] }, "K8sPrxyVirtualServiceMatch": { "typ": "tcp" }, "K8sPrxyVirtualServiceMatchURL": {}, "K8sPrxyVirtualServiceRoute": { "host": "", "port_number": 0 }, "K8sResources": { "cpu": "250m", "memory": "64Mi" }, "K8sSecret": { "items": [], "name": "" }, "K8sService": { "name": "", "ports": [], "proto": "TCP", "typ": "ClusterIP" }, "K8sServiceMeshConfig": { "mtls_enabled": true, "tracing_enabled": true }, "K8sVolume": { "name": "", "typ": "volumeClaim" }, "K8sVolumeClaim": { "abbrev_mode": [ "RWO" ], "modes": [ "ReadWriteOnce" ], "name": "", "reclaimPolicy": "Retain", "storageClassName": "manual", "typ": "empty" }, "K8sVolumeMount": { "mountPath": "", "name": "", "readOnly": false } } }, "lib": { "DefaultClusterDef": { "name": "", "profile": "default", "target_save_path": "" }, "DefaultScaleData": { "def": "", "disabled": false, "mode": "manual" }, "DefaultScaleResource": { "default": {}, "path": "/etc/scale_provisioning" }, "DefaultStorage": { "fstab": true, "mount": true, "name": "", "parts": [], "size": 0, "total": 0, "type": "ext4" }, "DefaultStorageVol": { "fstab": true, "mount": true, "name": "", "size": 0, "total": 0, "type": "ext4" }, "DefaultTaskServDef": { "install_mode": "library", "name": "", "profile": "default", "target_save_path": "" }, "defaults": { "cluster_def": { "name": "", "profile": "default", "target_save_path": "" }, "scale_data": { "def": "", "disabled": false, "mode": "manual" }, "scale_resource": { "default": {}, "path": "/etc/scale_provisioning" }, "storage": { "fstab": true, "mount": true, "name": "", "parts": [], "size": 0, "total": 0, "type": "ext4" }, "storage_vol": { "fstab": true, "mount": true, "name": "", "size": 0, "total": 0, "type": "ext4" }, "taskserv_def": { "install_mode": "library", "name": "", "profile": "default", "target_save_path": "" } } }, "modes": { "cicd_mode": { "authentication": { "auth_type": "token", "ssh_key_storage": "kms", "token_config": { "expiry_seconds": 3600, "refresh_enabled": false, "token_format": "jwt", "token_path": "/var/run/secrets/provisioning/token" } }, "description": "CI/CD pipeline automated execution", "extensions": { "oci_registry": { "auth_token_path": "/var/run/secrets/provisioning/oci-token", "cache_dir": "/tmp/provisioning-oci-cache", "enabled": true, "endpoint": "registry.cicd.local", "namespace": "cicd-extensions", "tls_enabled": true, "verify_ssl": true }, "source": "oci" }, "mode_name": "cicd", "resource_limits": { "max_cpu_cores_per_user": 16, "max_memory_gb_per_user": 64, "max_servers_per_user": 5, "max_storage_gb_per_user": 200 }, "security": { "audit_log_path": "/var/log/provisioning/cicd-audit.log", "audit_logging": true, "dns_modification": "coredns", "encryption_at_rest": true, "encryption_in_transit": true, "network_isolation": true, "secret_provider": { "provider": "vault" } }, "services": { "control_center": { "deployment": "disabled" }, "coredns": { "deployment": "remote", "remote_config": { "endpoint": "dns.cicd.local", "port": 53 } }, "gitea": { "deployment": "remote", "remote_config": { "endpoint": "git.cicd.local", "port": 443, "tls_enabled": true } }, "oci_registry": { "auth_required": true, "deployment": "remote", "endpoint": "registry.cicd.local", "namespaces": { "extensions": "cicd-extensions", "kcl_packages": "cicd-kcl", "platform_images": "cicd-platform", "test_images": "cicd-test" }, "remote": { "retries": 5, "timeout": 60, "verify_ssl": true }, "tls_enabled": true, "type": "harbor" }, "orchestrator": { "deployment": "remote", "remote_config": { "endpoint": "orchestrator.cicd.local", "port": 8080, "retries": 5, "timeout": 60, "tls_enabled": true, "verify_ssl": true } } }, "workspaces": { "git_integration": "required", "isolation": "strict", "locking": "disabled", "max_workspaces_per_user": 1 } }, "enterprise_mode": { "authentication": { "auth_type": "mtls", "mtls_config": { "ca_cert_path": "/etc/provisioning/certs/ca.crt", "client_cert_path": "/etc/provisioning/certs/client.crt", "client_key_path": "/etc/provisioning/certs/client.key", "verify_server": true }, "ssh_key_storage": "kms" }, "description": "Production enterprise deployment with full security", "extensions": { "oci_registry": { "auth_token_path": "/etc/provisioning/tokens/oci", "cache_dir": "/var/cache/provisioning/oci", "enabled": true, "endpoint": "harbor.enterprise.local", "namespace": "prod-extensions", "tls_enabled": true, "verify_ssl": true }, "source": "oci" }, "mode_name": "enterprise", "resource_limits": { "max_cpu_cores_per_user": 64, "max_memory_gb_per_user": 256, "max_servers_per_user": 20, "max_storage_gb_per_user": 1000, "max_total_cpu_cores": 2000, "max_total_memory_gb": 8192, "max_total_servers": 500 }, "security": { "audit_log_path": "/var/log/provisioning/enterprise-audit.log", "audit_logging": true, "dns_modification": "system", "encryption_at_rest": true, "encryption_in_transit": true, "network_isolation": true, "secret_provider": { "provider": "vault" } }, "services": { "control_center": { "deployment": "k8s", "k8s_config": { "deployment_name": "control-center", "image": "harbor.enterprise.local/provisioning/control-center:latest", "namespace": "provisioning-system", "replicas": 2, "service_name": "control-center-svc" } }, "coredns": { "deployment": "k8s", "k8s_config": { "deployment_name": "coredns", "image": "registry.k8s.io/coredns/coredns:latest", "namespace": "kube-system", "replicas": 2, "service_name": "kube-dns" } }, "gitea": { "deployment": "k8s", "k8s_config": { "deployment_name": "gitea", "image": "gitea/gitea:latest", "namespace": "provisioning-system", "replicas": 2, "service_name": "gitea-svc" } }, "oci_registry": { "auth_required": true, "deployment": "remote", "endpoint": "harbor.enterprise.local", "namespaces": { "extensions": "prod-extensions", "kcl_packages": "prod-kcl", "platform_images": "prod-platform", "test_images": "test-images" }, "remote": { "retries": 5, "timeout": 60, "verify_ssl": true }, "tls_enabled": true, "type": "harbor" }, "orchestrator": { "deployment": "k8s", "k8s_config": { "deployment_name": "orchestrator", "image": "harbor.enterprise.local/provisioning/orchestrator:latest", "namespace": "provisioning-system", "replicas": 3, "resources": { "cpu_limit": "2000m", "cpu_request": "500m", "memory_limit": "4Gi", "memory_request": "1Gi" }, "service_name": "orchestrator-svc" } } }, "workspaces": { "git_integration": "required", "isolation": "strict", "lock_provider": "etcd", "locking": "required", "max_workspaces_per_user": 3 } }, "multiuser_mode": { "authentication": { "auth_type": "token", "ssh_key_storage": "local", "token_config": { "expiry_seconds": 86400, "refresh_enabled": true, "token_format": "jwt", "token_path": "~/.provisioning/tokens/auth" } }, "description": "Team collaboration with shared services", "extensions": { "oci_registry": { "auth_token_path": "~/.provisioning/tokens/oci", "cache_dir": "~/.provisioning/oci-cache", "enabled": true, "endpoint": "harbor.company.local", "namespace": "provisioning-extensions", "tls_enabled": true, "verify_ssl": true }, "source": "oci" }, "mode_name": "multi_user", "resource_limits": { "max_cpu_cores_per_user": 32, "max_memory_gb_per_user": 128, "max_servers_per_user": 10, "max_storage_gb_per_user": 500, "max_total_cpu_cores": 320, "max_total_memory_gb": 1024, "max_total_servers": 100 }, "security": { "audit_log_path": "/var/log/provisioning/audit.log", "audit_logging": true, "dns_modification": "coredns", "encryption_at_rest": false, "encryption_in_transit": true, "network_isolation": false, "secret_provider": { "provider": "sops" } }, "services": { "control_center": { "deployment": "remote", "remote_config": { "endpoint": "control.company.local", "port": 8081, "tls_enabled": true } }, "coredns": { "deployment": "remote", "remote_config": { "endpoint": "dns.company.local", "port": 53, "tls_enabled": false } }, "gitea": { "deployment": "remote", "remote_config": { "endpoint": "git.company.local", "port": 443, "tls_enabled": true } }, "oci_registry": { "auth_required": true, "deployment": "remote", "endpoint": "harbor.company.local", "namespaces": { "extensions": "provisioning-extensions", "kcl_packages": "provisioning-kcl", "platform_images": "provisioning-platform", "test_images": "provisioning-test" }, "remote": { "retries": 3, "timeout": 30, "verify_ssl": true }, "tls_enabled": true, "type": "harbor" }, "orchestrator": { "deployment": "remote", "remote_config": { "endpoint": "orchestrator.company.local", "port": 8080, "retries": 3, "timeout": 30, "tls_enabled": true, "verify_ssl": true } } }, "workspaces": { "git_integration": "required", "isolation": "user", "lock_provider": "gitea", "locking": "enabled", "max_workspaces_per_user": 5 } }, "solo_mode": { "authentication": { "auth_type": "none", "ssh_key_storage": "local" }, "description": "Single developer local development mode", "extensions": { "allow_mixed": true, "local_path": "./provisioning/extensions", "source": "local" }, "mode_name": "solo", "resource_limits": { "max_cpu_cores_per_user": 32, "max_memory_gb_per_user": 128, "max_servers_per_user": 10, "max_storage_gb_per_user": 500 }, "security": { "audit_logging": false, "dns_modification": "none", "encryption_at_rest": false, "encryption_in_transit": false, "network_isolation": false, "secret_provider": { "provider": "sops" } }, "services": { "control_center": { "deployment": "disabled" }, "coredns": { "deployment": "disabled" }, "gitea": { "deployment": "disabled" }, "oci_registry": { "auth_required": false, "deployment": "local", "endpoint": "localhost", "local": { "auto_start": false, "config_path": "~/.provisioning/oci-registry/config.json", "data_dir": "~/.provisioning/oci-registry" }, "namespaces": { "extensions": "dev-extensions", "kcl_packages": "dev-kcl", "platform_images": "dev-platform", "test_images": "dev-test" }, "port": 5000, "tls_enabled": false, "type": "zot" }, "orchestrator": { "auto_start": true, "deployment": "local", "local_config": { "data_dir": "~/.provisioning/orchestrator", "port": 8080 } } }, "workspaces": { "git_integration": "optional", "isolation": "none", "locking": "disabled" } } }, "nested_provisioning": { "DefaultContainerConfig": { "auto_start": false, "cpu_millicores": 1000, "disk_gb": 10, "image": "", "memory_mb": 512, "name": "", "parent_vm": "", "restart_policy": "unless_stopped", "runtime": "containerd", "tag": "latest" }, "DefaultMultiTierDeployment": { "containers": [], "health_check_interval": 30, "name": "", "nested_vms": [], "networks": [], "parent_vms": [], "replicas": 1, "strategy": "rolling", "version": "1.0.0", "volumes": [] }, "DefaultNestedProvisioningPolicy": { "default_network_type": "bridge", "default_volume_type": "local", "enable_ipv6": false, "enable_network_isolation": true, "enable_security_hardening": true, "enable_vlan_tagging": false, "max_containers_per_vm": 50, "max_cpu_per_vm": 16, "max_disk_per_vm": 500, "max_memory_per_vm": 32768, "max_nesting_depth": 3, "max_vms_per_parent": 10, "require_auth_between_tiers": false, "snapshot_retention_days": 30 }, "DefaultNestedVmConfig": { "auto_start": false, "base_image": "ubuntu-22.04", "cpu": 2, "disk_gb": 20, "memory_mb": 2048, "name": "", "nested_virt": true, "networks": [], "parent_vm": "", "restart_policy": "always", "start_order": 100 }, "DefaultNetworkConfig": { "allow_inbound": false, "allow_outbound": true, "dhcp_enabled": true, "mtu": 1500, "name": "", "subnet": "192.168.1.0/24", "type": "bridge" }, "DefaultNetworkPolicy": { "action": "allow", "direction": "both", "name": "", "priority": 100, "protocol": "all" }, "DefaultVolumeConfig": { "mount_mode": "755", "mount_path": "/", "name": "", "provider": "aws", "readonly": false, "type": "local" }, "DefaultVolumeSnapshot": { "auto_delete": true, "checksum": "", "created_at": "1970-01-01T00:00:00Z", "name": "", "retention_days": 30, "size_gb": 0, "volume_name": "" }, "defaults": { "ContainerConfig": { "auto_start": false, "cpu_millicores": 1000, "disk_gb": 10, "image": "", "memory_mb": 512, "name": "", "parent_vm": "", "restart_policy": "unless_stopped", "runtime": "containerd", "tag": "latest" }, "MultiTierDeployment": { "containers": [], "health_check_interval": 30, "name": "", "nested_vms": [], "networks": [], "parent_vms": [], "replicas": 1, "strategy": "rolling", "version": "1.0.0", "volumes": [] }, "NestedProvisioningPolicy": { "default_network_type": "bridge", "default_volume_type": "local", "enable_ipv6": false, "enable_network_isolation": true, "enable_security_hardening": true, "enable_vlan_tagging": false, "max_containers_per_vm": 50, "max_cpu_per_vm": 16, "max_disk_per_vm": 500, "max_memory_per_vm": 32768, "max_nesting_depth": 3, "max_vms_per_parent": 10, "require_auth_between_tiers": false, "snapshot_retention_days": 30 }, "NestedVmConfig": { "auto_start": false, "base_image": "ubuntu-22.04", "cpu": 2, "disk_gb": 20, "memory_mb": 2048, "name": "", "nested_virt": true, "networks": [], "parent_vm": "", "restart_policy": "always", "start_order": 100 }, "NetworkConfig": { "allow_inbound": false, "allow_outbound": true, "dhcp_enabled": true, "mtu": 1500, "name": "", "subnet": "192.168.1.0/24", "type": "bridge" }, "NetworkPolicy": { "action": "allow", "direction": "both", "name": "", "priority": 100, "protocol": "all" }, "VolumeConfig": { "mount_mode": "755", "mount_path": "/", "name": "", "provider": "aws", "readonly": false, "type": "local" }, "VolumeSnapshot": { "auto_delete": true, "checksum": "", "created_at": "1970-01-01T00:00:00Z", "name": "", "retention_days": 30, "size_gb": 0, "volume_name": "" } } }, "server": { "DefaultServer": { "delete_lock": false, "fix_local_hosts": true, "hostname": "", "installer_user": "${user}", "labels": "", "lock": false, "network_public_ipv4": true, "network_public_ipv6": false, "network_utility_ipv4": true, "network_utility_ipv6": false, "not_use": false, "running_timeout": 200, "running_wait": 10, "storage_os_find": "name: debian-12 | arch: x86_64", "time_zone": "UTC", "title": "", "user": "", "user_home": "/home/${user}", "user_ssh_port": 22 }, "defaults": { "server": { "delete_lock": false, "fix_local_hosts": true, "hostname": "", "installer_user": "${user}", "labels": "", "lock": false, "network_public_ipv4": true, "network_public_ipv6": false, "network_utility_ipv4": true, "network_utility_ipv6": false, "not_use": false, "running_timeout": 200, "running_wait": 10, "storage_os_find": "name: debian-12 | arch: x86_64", "time_zone": "UTC", "title": "", "user": "", "user_home": "/home/${user}", "user_ssh_port": 22 } } }, "services": { "DefaultBinaryDeployment": { "args": [], "binary_path": "", "env": {} }, "DefaultCommandHealthCheck": { "command": "", "expected_exit_code": 0 }, "DefaultDockerComposeDeployment": { "compose_file": "", "service_name": "" }, "DefaultDockerDeployment": { "container_name": "", "environment": {}, "image": "", "networks": [], "ports": [], "restart_policy": "unless_stopped", "volumes": [] }, "DefaultFileHealthCheck": { "must_exist": true, "path": "" }, "DefaultHealthCheck": { "interval": 10, "retries": 3, "timeout": 5, "type": "none" }, "DefaultHelmChart": { "chart": "", "release_name": "" }, "DefaultHttpHealthCheck": { "endpoint": "", "expected_status": 200, "headers": {}, "method": "GET" }, "DefaultKubernetesDeployment": { "deployment_name": "", "namespace": "" }, "DefaultRemoteDeployment": { "endpoint": "", "tls_enabled": true }, "DefaultResourceLimits": {}, "DefaultServiceDefinition": { "category": "orchestration", "conflicts": [], "dependencies": [], "deployment": {}, "health_check": {}, "name": "", "required_for": [], "startup": {}, "type": "platform" }, "DefaultServiceDeployment": { "mode": "binary" }, "DefaultServiceOperation": { "force": false, "operation": "start", "service_name": "" }, "DefaultServiceRegistry": { "services": {} }, "DefaultServiceState": { "health_status": "unknown", "name": "", "restart_count": 0, "status": "unknown" }, "DefaultStartupConfig": { "auto_start": false, "max_restarts": 3, "restart_on_failure": true, "start_order": 100, "start_timeout": 60 }, "DefaultTcpHealthCheck": { "host": "", "port": 80 }, "defaults": { "BinaryDeployment": { "args": [], "binary_path": "", "env": {} }, "CommandHealthCheck": { "command": "", "expected_exit_code": 0 }, "DockerComposeDeployment": { "compose_file": "", "service_name": "" }, "DockerDeployment": { "container_name": "", "environment": {}, "image": "", "networks": [], "ports": [], "restart_policy": "unless_stopped", "volumes": [] }, "FileHealthCheck": { "must_exist": true, "path": "" }, "HealthCheck": { "interval": 10, "retries": 3, "timeout": 5, "type": "none" }, "HelmChart": { "chart": "", "release_name": "" }, "HttpHealthCheck": { "endpoint": "", "expected_status": 200, "headers": {}, "method": "GET" }, "KubernetesDeployment": { "deployment_name": "", "namespace": "" }, "RemoteDeployment": { "endpoint": "", "tls_enabled": true }, "ResourceLimits": {}, "ServiceDefinition": { "category": "orchestration", "conflicts": [], "dependencies": [], "deployment": {}, "health_check": {}, "name": "", "required_for": [], "startup": {}, "type": "platform" }, "ServiceDeployment": { "mode": "binary" }, "ServiceOperation": { "force": false, "operation": "start", "service_name": "" }, "ServiceRegistry": { "services": {} }, "ServiceState": { "health_status": "unknown", "name": "", "restart_count": 0, "status": "unknown" }, "StartupConfig": { "auto_start": false, "max_restarts": 3, "restart_on_failure": true, "start_order": 100, "start_timeout": 60 }, "TcpHealthCheck": { "host": "", "port": 80 } } }, "settings": { "DefaultAIProvider": { "enable_query_ai": true, "enable_template_ai": true, "enable_webhook_ai": false, "enabled": false, "max_tokens": 2048, "provider": "openai", "temperature": 0.3, "timeout": 30 }, "DefaultKmsConfig": { "auth_method": "certificate", "server_url": "", "timeout": 30, "verify_ssl": true }, "DefaultRunSet": { "inventory_file": "./inventory.yaml", "output_format": "human", "output_path": "tmp/NOW-deploy", "use_time": true, "wait": true }, "DefaultSecretProvider": { "provider": "sops" }, "DefaultSettings": { "cluster_admin_host": "", "cluster_admin_port": 22, "cluster_admin_user": "root", "clusters_paths": [ "clusters" ], "clusters_save_path": "/${main_name}/clusters", "created_clusters_dirpath": "./tmp/NOW_clusters", "created_taskservs_dirpath": "./tmp/NOW_deployment", "defaults_provs_dirpath": "./defs", "defaults_provs_suffix": "_defaults.k", "main_name": "", "main_title": "", "prov_clusters_path": "./clusters", "prov_data_dirpath": "./data", "prov_data_suffix": "_settings.k", "prov_local_bin_path": "./bin", "prov_resources_path": "./resources", "servers_paths": [ "servers" ], "servers_wait_started": 27, "settings_path": "./settings.yaml" }, "DefaultSopsConfig": { "use_age": true }, "defaults": { "ai_provider": { "enable_query_ai": true, "enable_template_ai": true, "enable_webhook_ai": false, "enabled": false, "max_tokens": 2048, "provider": "openai", "temperature": 0.3, "timeout": 30 }, "kms_config": { "auth_method": "certificate", "server_url": "", "timeout": 30, "verify_ssl": true }, "run_set": { "inventory_file": "./inventory.yaml", "output_format": "human", "output_path": "tmp/NOW-deploy", "use_time": true, "wait": true }, "secret_provider": { "provider": "sops" }, "settings": { "cluster_admin_host": "", "cluster_admin_port": 22, "cluster_admin_user": "root", "clusters_paths": [ "clusters" ], "clusters_save_path": "/${main_name}/clusters", "created_clusters_dirpath": "./tmp/NOW_clusters", "created_taskservs_dirpath": "./tmp/NOW_deployment", "defaults_provs_dirpath": "./defs", "defaults_provs_suffix": "_defaults.k", "main_name": "", "main_title": "", "prov_clusters_path": "./clusters", "prov_data_dirpath": "./data", "prov_data_suffix": "_settings.k", "prov_local_bin_path": "./bin", "prov_resources_path": "./resources", "servers_paths": [ "servers" ], "servers_wait_started": 27, "settings_path": "./settings.yaml" }, "sops_config": { "use_age": true } } }, "system_config": { "DefaultAWSConfig": { "credentials": {}, "region": "us-east-1", "timeout_seconds": 30 }, "DefaultControlCenterConfig": { "database": {}, "enabled": true, "port": 3000, "timeout_seconds": 30, "url": "http://localhost:3000" }, "DefaultDatabaseConfig": { "backend": "memory" }, "DefaultHetznerConfig": { "api_url": "https://api.hetzner.cloud/v1", "credentials": {}, "timeout_seconds": 30 }, "DefaultKMSConfig": { "backend": "age", "enabled": true, "rotation_days": 90 }, "DefaultLocalConfig": { "base_path": "/tmp/provisioning-local", "timeout_seconds": 10 }, "DefaultOrchestratorConfig": { "enabled": true, "endpoint": "http://localhost:9090", "health_check_interval_seconds": 5, "port": 9090, "timeout_seconds": 30 }, "DefaultPlatformServicesConfig": { "control_center": {}, "kms_service": {}, "orchestrator": {} }, "DefaultProviderConfig": {}, "DefaultProviderCredentialsReference": { "credentials_source": "", "credentials_source_type": "rustyvault" }, "DefaultRustyVaultBootstrap": { "encrypted_key_format": "age", "encrypted_key_path": "" }, "DefaultSystemConfig": { "cache_base_path": "/var/cache/provisioning", "config_base_path": "/etc/provisioning", "cpu_count": 8, "disk_total_gb": 500, "install_path": "/opt/provisioning", "memory_total_gb": 32, "os_name": "linux", "os_version": "5.15.0", "setup_by_user": "provisioning", "setup_date": "2025-12-11T00:00:00Z", "setup_hostname": "provisioning-host", "system_architecture": "x86_64", "version": "1.0.0", "workspaces_dir": "/opt/workspaces" }, "DefaultUpCloudConfig": { "api_url": "https://api.upcloud.com/1.3", "credentials": {}, "interface": "API", "timeout_seconds": 30 }, "DefaultUserPreferences": { "auto_confirm_operations": false, "default_timeout_seconds": 300, "log_level": "info", "preferred_editor": "vim", "preferred_output_format": "text" }, "DefaultWorkspaceConfig": { "active_infrastructure": "", "active_providers": [], "provider_config": {}, "workspace_name": "", "workspace_path": "" }, "defaults": { "AWSConfig": { "credentials": {}, "region": "us-east-1", "timeout_seconds": 30 }, "ControlCenterConfig": { "database": {}, "enabled": true, "port": 3000, "timeout_seconds": 30, "url": "http://localhost:3000" }, "DatabaseConfig": { "backend": "memory" }, "HetznerConfig": { "api_url": "https://api.hetzner.cloud/v1", "credentials": {}, "timeout_seconds": 30 }, "KMSConfig": { "backend": "age", "enabled": true, "rotation_days": 90 }, "LocalConfig": { "base_path": "/tmp/provisioning-local", "timeout_seconds": 10 }, "OrchestratorConfig": { "enabled": true, "endpoint": "http://localhost:9090", "health_check_interval_seconds": 5, "port": 9090, "timeout_seconds": 30 }, "PlatformServicesConfig": { "control_center": {}, "kms_service": {}, "orchestrator": {} }, "ProviderConfig": {}, "ProviderCredentialsReference": { "credentials_source": "", "credentials_source_type": "rustyvault" }, "RustyVaultBootstrap": { "encrypted_key_format": "age", "encrypted_key_path": "" }, "SystemConfig": { "cache_base_path": "/var/cache/provisioning", "config_base_path": "/etc/provisioning", "cpu_count": 8, "disk_total_gb": 500, "install_path": "/opt/provisioning", "memory_total_gb": 32, "os_name": "linux", "os_version": "5.15.0", "setup_by_user": "provisioning", "setup_date": "2025-12-11T00:00:00Z", "setup_hostname": "provisioning-host", "system_architecture": "x86_64", "version": "1.0.0", "workspaces_dir": "/opt/workspaces" }, "UpCloudConfig": { "api_url": "https://api.upcloud.com/1.3", "credentials": {}, "interface": "API", "timeout_seconds": 30 }, "UserPreferences": { "auto_confirm_operations": false, "default_timeout_seconds": 300, "log_level": "info", "preferred_editor": "vim", "preferred_output_format": "text" }, "WorkspaceConfig": { "active_infrastructure": "", "active_providers": [], "provider_config": {}, "workspace_name": "", "workspace_path": "" } } }, "version": { "package_metadata": { "api_version": "v1", "build_date": "2025-09-28", "dependencies": {}, "features": { "batch_operations": true, "cluster_orchestration": true, "provider_abstraction": true, "server_management": true, "workflow_automation": true }, "kcl_max_version": "0.12.0", "kcl_min_version": "0.11.0", "name": "provisioning", "schema_exports": [ "Settings", "Server", "Cluster", "Provider", "Workflow", "BatchWorkflow", "Version", "PackageMetadata" ], "version": "0.1.0" } }, "vm": { "DefaultVmCapacity": { "host_name": "", "max_vms": 0, "running_vms": 0, "total_cpu_cores": 0, "total_disk_gb": 0, "total_memory_mb": 0, "used_cpu_cores": 0, "used_disk_gb": 0, "used_memory_mb": 0 }, "DefaultVmCloudInit": { "enabled": true }, "DefaultVmConfig": { "auto_cleanup": false, "backend": "libvirt", "base_image": "ubuntu-22.04", "cpu": 2, "disk_gb": 20, "graphics_enable": false, "memory_mb": 4096, "name": "", "nested_virt": false, "network_mode": "bridge", "permanent": false, "serial_console": true, "taskservs": [], "temporary": false }, "DefaultVmImage": { "base_os": "ubuntu", "format": "qcow2", "name": "", "os_version": "22.04", "path": "", "size_gb": 0 }, "DefaultVmMount": { "guest_path": "", "host_path": "", "readonly": false }, "DefaultVmNetwork": { "name": "default", "type": "nat" }, "DefaultVmPortMapping": { "guest_port": 0, "host_port": 0, "protocol": "tcp" }, "DefaultVmRegistry": { "permanent_count": 0, "temporary_count": 0, "updated_at": "", "vms": [] }, "DefaultVmState": { "created_at": "", "permanent": false, "state": "stopped", "vm_name": "" }, "DefaultVmVolume": { "format": "qcow2", "name": "", "size_gb": 0 }, "defaults": { "vm_capacity": { "host_name": "", "max_vms": 0, "running_vms": 0, "total_cpu_cores": 0, "total_disk_gb": 0, "total_memory_mb": 0, "used_cpu_cores": 0, "used_disk_gb": 0, "used_memory_mb": 0 }, "vm_cloud_init": { "enabled": true }, "vm_config": { "auto_cleanup": false, "backend": "libvirt", "base_image": "ubuntu-22.04", "cpu": 2, "disk_gb": 20, "graphics_enable": false, "memory_mb": 4096, "name": "", "nested_virt": false, "network_mode": "bridge", "permanent": false, "serial_console": true, "taskservs": [], "temporary": false }, "vm_image": { "base_os": "ubuntu", "format": "qcow2", "name": "", "os_version": "22.04", "path": "", "size_gb": 0 }, "vm_mount": { "guest_path": "", "host_path": "", "readonly": false }, "vm_network": { "name": "default", "type": "nat" }, "vm_port_mapping": { "guest_port": 0, "host_port": 0, "protocol": "tcp" }, "vm_registry": { "permanent_count": 0, "temporary_count": 0, "updated_at": "", "vms": [] }, "vm_state": { "created_at": "", "permanent": false, "state": "stopped", "vm_name": "" }, "vm_volume": { "format": "qcow2", "name": "", "size_gb": 0 } } }, "vm_lifecycle": { "DefaultVmAutoStartConfig": { "depends_on": [], "enabled": true, "max_start_retries": 3, "on_start_failure": "retry", "ssh_timeout_seconds": 300, "start_delay_seconds": 0, "start_order": 0, "vm_name": "", "wait_for_ssh": true }, "DefaultVmCleanupPolicy": { "alert_on_cleanup_failure": true, "check_interval_minutes": 60, "cleanup_batch_size": 10, "cleanup_enabled": true, "cleanup_in_window_only": true, "cleanup_window_end": "06:00", "cleanup_window_start": "02:00", "dry_run_mode": false, "log_cleanup_operations": true, "max_concurrent_cleanups": 3, "require_confirmation": false, "retention_days": 7, "skip_on_low_resources": true }, "DefaultVmCleanupSchedule": { "cleanup_attempts": 0, "cleanup_status": "pending", "created_at": "1970-01-01T00:00:00Z", "mode": "temporary", "scheduled_cleanup_at": "1970-01-01T00:00:00Z", "ttl_hours": 24, "vm_id": "", "vm_name": "" }, "DefaultVmLifecyclePolicy": { "enforce_cpu_limit": true, "enforce_disk_limit": false, "enforce_memory_limit": true, "on_disk_full": "none", "on_host_reboot": "start", "on_host_shutdown": "shutdown", "on_memory_pressure": "none" }, "DefaultVmPersistence": { "auto_cleanup": true, "auto_start": false, "cleanup_grace_period": 60, "created_at_unix": 0, "force_cleanup": false, "max_retries": 5, "mode": "permanent", "restart_policy": "always", "ttl_hours": 24 }, "DefaultVmRecoveryState": { "config_snapshot": {}, "creation_timestamp": "1970-01-01T00:00:00Z", "last_checkpoint": "1970-01-01T00:00:00Z", "state_before_shutdown": "stopped", "vm_id": "", "vm_name": "" }, "DefaultVmStateSnapshot": { "cpu_usage_percent": 0, "disk_usage_gb": 0, "ip_addresses": [], "mac_addresses": [], "memory_usage_mb": 0, "restart_count": 0, "snapshot_time": "1970-01-01T00:00:00Z", "uptime_seconds": 0, "vm_name": "", "vm_state": "stopped" }, "defaults": { "VmAutoStartConfig": { "depends_on": [], "enabled": true, "max_start_retries": 3, "on_start_failure": "retry", "ssh_timeout_seconds": 300, "start_delay_seconds": 0, "start_order": 0, "vm_name": "", "wait_for_ssh": true }, "VmCleanupPolicy": { "alert_on_cleanup_failure": true, "check_interval_minutes": 60, "cleanup_batch_size": 10, "cleanup_enabled": true, "cleanup_in_window_only": true, "cleanup_window_end": "06:00", "cleanup_window_start": "02:00", "dry_run_mode": false, "log_cleanup_operations": true, "max_concurrent_cleanups": 3, "require_confirmation": false, "retention_days": 7, "skip_on_low_resources": true }, "VmCleanupSchedule": { "cleanup_attempts": 0, "cleanup_status": "pending", "created_at": "1970-01-01T00:00:00Z", "mode": "temporary", "scheduled_cleanup_at": "1970-01-01T00:00:00Z", "ttl_hours": 24, "vm_id": "", "vm_name": "" }, "VmLifecyclePolicy": { "enforce_cpu_limit": true, "enforce_disk_limit": false, "enforce_memory_limit": true, "on_disk_full": "none", "on_host_reboot": "start", "on_host_shutdown": "shutdown", "on_memory_pressure": "none" }, "VmPersistence": { "auto_cleanup": true, "auto_start": false, "cleanup_grace_period": 60, "created_at_unix": 0, "force_cleanup": false, "max_retries": 5, "mode": "permanent", "restart_policy": "always", "ttl_hours": 24 }, "VmRecoveryState": { "config_snapshot": {}, "creation_timestamp": "1970-01-01T00:00:00Z", "last_checkpoint": "1970-01-01T00:00:00Z", "state_before_shutdown": "stopped", "vm_id": "", "vm_name": "" }, "VmStateSnapshot": { "cpu_usage_percent": 0, "disk_usage_gb": 0, "ip_addresses": [], "mac_addresses": [], "memory_usage_mb": 0, "restart_count": 0, "snapshot_time": "1970-01-01T00:00:00Z", "uptime_seconds": 0, "vm_name": "", "vm_state": "stopped" } } }, "workflows": { "DefaultBatchOperation": { "action": "create", "allow_parallel": true, "dependencies": [], "name": "", "operation_id": "", "operation_type": "server", "parameters": {}, "priority": 0, "success_conditions": [], "timeout": 1800, "validation_rules": [] }, "DefaultBatchWorkflow": { "description": "", "execution_context": {}, "fail_fast": false, "global_timeout": 7200, "max_parallel_operations": 5, "name": "", "operations": [], "post_workflow_hooks": [], "pre_workflow_hooks": [], "version": "1.0.0", "workflow_id": "" }, "DefaultDependencyDef": { "conditions": [], "dependency_type": "sequential", "fail_on_dependency_error": true, "target_operation_id": "", "timeout": 300 }, "DefaultMonitoringConfig": { "backend": "prometheus", "collection_interval": 30, "enable_notifications": false, "enable_tracing": true, "enabled": true, "log_level": "info", "notification_channels": [] }, "DefaultRetryPolicy": { "backoff_multiplier": 2, "initial_delay": 5, "max_attempts": 3, "max_delay": 300, "retry_on_any_error": false, "retry_on_errors": [ "connection_error", "timeout", "rate_limit" ] }, "DefaultRollbackStrategy": { "custom_rollback_operations": [], "enabled": true, "preserve_partial_state": false, "rollback_timeout": 600, "strategy": "immediate" }, "DefaultStorageConfig": { "backend": "filesystem", "base_path": "./batch_workflows", "connection_config": {}, "enable_compression": false, "enable_persistence": true, "retention_hours": 168 }, "DefaultWorkflowExecution": { "errors": [], "execution_id": "", "operation_states": {}, "resource_usage": {}, "results": {}, "rollback_history": [], "status": "pending", "workflow_id": "" }, "DefaultWorkflowTemplate": { "category": "infrastructure", "description": "", "examples": [], "name": "", "parameters": {}, "required_parameters": [], "template_id": "", "version": "1.0.0" }, "defaults": { "batch_operation": { "action": "create", "allow_parallel": true, "dependencies": [], "name": "", "operation_id": "", "operation_type": "server", "parameters": {}, "priority": 0, "success_conditions": [], "timeout": 1800, "validation_rules": [] }, "batch_workflow": { "description": "", "execution_context": {}, "fail_fast": false, "global_timeout": 7200, "max_parallel_operations": 5, "name": "", "operations": [], "post_workflow_hooks": [], "pre_workflow_hooks": [], "version": "1.0.0", "workflow_id": "" }, "dependency_def": { "conditions": [], "dependency_type": "sequential", "fail_on_dependency_error": true, "target_operation_id": "", "timeout": 300 }, "monitoring_config": { "backend": "prometheus", "collection_interval": 30, "enable_notifications": false, "enable_tracing": true, "enabled": true, "log_level": "info", "notification_channels": [] }, "retry_policy": { "backoff_multiplier": 2, "initial_delay": 5, "max_attempts": 3, "max_delay": 300, "retry_on_any_error": false, "retry_on_errors": [ "connection_error", "timeout", "rate_limit" ] }, "rollback_strategy": { "custom_rollback_operations": [], "enabled": true, "preserve_partial_state": false, "rollback_timeout": 600, "strategy": "immediate" }, "storage_config": { "backend": "filesystem", "base_path": "./batch_workflows", "connection_config": {}, "enable_compression": false, "enable_persistence": true, "retention_hours": 168 }, "workflow_execution": { "errors": [], "execution_id": "", "operation_states": {}, "resource_usage": {}, "results": {}, "rollback_history": [], "status": "pending", "workflow_id": "" }, "workflow_template": { "category": "infrastructure", "description": "", "examples": [], "name": "", "parameters": {}, "required_parameters": [], "template_id": "", "version": "1.0.0" } } }, "workspace_config": { "DefaultAiConfig": { "config_path": "", "enabled": false, "provider": "" }, "DefaultCacheConfig": { "check_updates": true, "enabled": true, "grace_period": 3600, "infra_cache": "", "max_cache_size": "1GB", "path": "" }, "DefaultClustersConfig": { "run_path": "" }, "DefaultCoreConfig": { "name": "", "version": "" }, "DefaultDebugConfig": { "check_mode": false, "enabled": false, "log_level": "info", "metadata": false, "no_terminal": false, "remote": false, "validation": false }, "DefaultGenerationConfig": { "defs_file": "", "dir_path": "" }, "DefaultHttpConfig": { "timeout": 30, "use_curl": false }, "DefaultInfraConfig": { "current": "" }, "DefaultKclConfig": { "core_module": "", "core_package_name": "", "core_version": "", "module_loader_path": "", "modules_dir": "", "use_module_loader": false }, "DefaultKmsConfig": { "config_file": "", "mode": "off" }, "DefaultOutputConfig": { "file_viewer": "less", "format": "text" }, "DefaultPaths": { "base": "", "cache": "", "clusters": "", "control_center": "", "extensions": "", "generate": "", "infra": "", "kms": "", "orchestrator": "", "providers": "", "resources": "", "run_clusters": "", "run_taskservs": "", "runtime": "", "taskservs": "", "templates": "", "tools": "" }, "DefaultPlatformConfig": { "control_center_enabled": false, "mcp_enabled": false, "orchestrator_enabled": false }, "DefaultProviderConfig": { "active": [], "default": "" }, "DefaultProvisioningConfig": { "path": "" }, "DefaultSecretsConfig": { "kms_enabled": false, "provider": "sops", "sops_enabled": false }, "DefaultSopsConfig": { "config_path": "", "key_search_paths": [], "use_sops": false }, "DefaultSshConfig": { "debug": false, "options": [], "timeout": 30, "user": "root" }, "DefaultTaskservsConfig": { "run_path": "" }, "DefaultToolsConfig": { "use_kcl": true, "use_kcl_plugin": false, "use_tera_plugin": false }, "DefaultWorkspace": { "created": "", "current_environment": "", "current_infra": "", "name": "", "version": "0.0.0" }, "defaults": { "ai": { "config_path": "", "enabled": false, "provider": "" }, "cache": { "check_updates": true, "enabled": true, "grace_period": 3600, "infra_cache": "", "max_cache_size": "1GB", "path": "" }, "clusters": { "run_path": "" }, "core": { "name": "", "version": "" }, "debug": { "check_mode": false, "enabled": false, "log_level": "info", "metadata": false, "no_terminal": false, "remote": false, "validation": false }, "generation": { "defs_file": "", "dir_path": "" }, "http": { "timeout": 30, "use_curl": false }, "infra": { "current": "" }, "kcl": { "core_module": "", "core_package_name": "", "core_version": "", "module_loader_path": "", "modules_dir": "", "use_module_loader": false }, "kms": { "config_file": "", "mode": "off" }, "output": { "file_viewer": "less", "format": "text" }, "paths": { "base": "", "cache": "", "clusters": "", "control_center": "", "extensions": "", "generate": "", "infra": "", "kms": "", "orchestrator": "", "providers": "", "resources": "", "run_clusters": "", "run_taskservs": "", "runtime": "", "taskservs": "", "templates": "", "tools": "" }, "platform": { "control_center_enabled": false, "mcp_enabled": false, "orchestrator_enabled": false }, "providers": { "active": [], "default": "" }, "provisioning": { "path": "" }, "secrets": { "kms_enabled": false, "provider": "sops", "sops_enabled": false }, "sops": { "config_path": "", "key_search_paths": [], "use_sops": false }, "ssh": { "debug": false, "options": [], "timeout": 30, "user": "root" }, "taskservs": { "run_path": "" }, "tools": { "use_kcl": true, "use_kcl_plugin": false, "use_tera_plugin": false }, "workspace": { "created": "", "current_environment": "", "current_infra": "", "name": "", "version": "0.0.0" } } } }