- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
114 lines
1.7 KiB
Plaintext
114 lines
1.7 KiB
Plaintext
# Services Defaults
|
|
#
|
|
# Concrete default values for service registry schemas.
|
|
|
|
{
|
|
ServiceRegistry = {
|
|
services = {},
|
|
},
|
|
|
|
ServiceDefinition = {
|
|
name = "",
|
|
type = 'platform,
|
|
category = 'orchestration,
|
|
required_for = [],
|
|
dependencies = [],
|
|
conflicts = [],
|
|
deployment = {},
|
|
health_check = {},
|
|
startup = {},
|
|
},
|
|
|
|
ServiceDeployment = {
|
|
mode = 'binary,
|
|
},
|
|
|
|
BinaryDeployment = {
|
|
binary_path = "",
|
|
args = [],
|
|
env = {},
|
|
},
|
|
|
|
DockerDeployment = {
|
|
image = "",
|
|
container_name = "",
|
|
ports = [],
|
|
volumes = [],
|
|
environment = {},
|
|
networks = [],
|
|
restart_policy = 'unless_stopped,
|
|
},
|
|
|
|
DockerComposeDeployment = {
|
|
compose_file = "",
|
|
service_name = "",
|
|
},
|
|
|
|
KubernetesDeployment = {
|
|
namespace = "",
|
|
deployment_name = "",
|
|
},
|
|
|
|
HelmChart = {
|
|
chart = "",
|
|
release_name = "",
|
|
},
|
|
|
|
RemoteDeployment = {
|
|
endpoint = "",
|
|
tls_enabled = true,
|
|
},
|
|
|
|
HealthCheck = {
|
|
type = 'none,
|
|
interval = 10,
|
|
retries = 3,
|
|
timeout = 5,
|
|
},
|
|
|
|
HttpHealthCheck = {
|
|
endpoint = "",
|
|
expected_status = 200,
|
|
method = 'GET,
|
|
headers = {},
|
|
},
|
|
|
|
TcpHealthCheck = {
|
|
host = "",
|
|
port = 80,
|
|
},
|
|
|
|
CommandHealthCheck = {
|
|
command = "",
|
|
expected_exit_code = 0,
|
|
},
|
|
|
|
FileHealthCheck = {
|
|
path = "",
|
|
must_exist = true,
|
|
},
|
|
|
|
StartupConfig = {
|
|
auto_start = false,
|
|
start_timeout = 60,
|
|
start_order = 100,
|
|
restart_on_failure = true,
|
|
max_restarts = 3,
|
|
},
|
|
|
|
ResourceLimits = {},
|
|
|
|
ServiceState = {
|
|
name = "",
|
|
status = 'unknown,
|
|
health_status = 'unknown,
|
|
restart_count = 0,
|
|
},
|
|
|
|
ServiceOperation = {
|
|
service_name = "",
|
|
operation = 'start,
|
|
force = false,
|
|
},
|
|
}
|