Skip to main content

types.DeploymentSpec

auto_promoteboolean

Auto-promote canary deployments

canary_countinteger

Canary-specific settings

canary_percentinteger

Percentage of canary nodes

health_check object

HealthCheck defines health check configuration (required for rolling/canary, ignored for immediate)

deadlinestring

Deadline is the maximum time to wait for an execution to become healthy (required) Example: "5m", "30s"

max_error_ratenumber

MaxErrorRate is the maximum error rate allowed during health checks (optional, default: 0.10) Example: 0.10 = 10% error rate

min_healthy_timestring

MinHealthyTime is the minimum continuous healthy duration required (optional, default: "30s") Example: "30s", "1m"

max_failed_nodesinteger

MaxFailedNodes is the maximum number of failed nodes before stopping (optional, default: 10)

max_failed_nodes_percentnumber

MaxFailedNodesPercent is the maximum percentage of failed nodes before stopping (optional, default: 10.0)

max_parallelinteger

MaxParallel is the maximum number of nodes to update in parallel (0 = all at once)

no_auto_rollbackboolean

NoAutoRollback disables automatic rollback on deployment failure (default: false = auto-rollback enabled)

strategytypes.DeploymentStrategyType (string)

Strategy: immediate|rolling|canary

Possible values: [immediate, rolling, canary]

types.DeploymentSpec
{
"auto_promote": true,
"canary_count": 0,
"canary_percent": 0,
"health_check": {
"deadline": "string",
"max_error_rate": 0,
"min_healthy_time": "string"
},
"max_failed_nodes": 0,
"max_failed_nodes_percent": 0,
"max_parallel": 0,
"no_auto_rollback": true,
"strategy": "immediate"
}