types.DeploymentSpec
Auto-promote canary deployments
Canary-specific settings
Percentage of canary nodes
health_check object
HealthCheck defines health check configuration (required for rolling/canary, ignored for immediate)
Deadline is the maximum time to wait for an execution to become healthy (required) Example: "5m", "30s"
MaxErrorRate is the maximum error rate allowed during health checks (optional, default: 0.10) Example: 0.10 = 10% error rate
MinHealthyTime is the minimum continuous healthy duration required (optional, default: "30s") Example: "30s", "1m"
MaxFailedNodes is the maximum number of failed nodes before stopping (optional, default: 10)
MaxFailedNodesPercent is the maximum percentage of failed nodes before stopping (optional, default: 10.0)
MaxParallel is the maximum number of nodes to update in parallel (0 = all at once)
NoAutoRollback disables automatic rollback on deployment failure (default: false = auto-rollback enabled)
Strategy: immediate|rolling|canary
Possible values: [immediate, rolling, canary]
{
"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"
}