api.GetDeploymentResponse
deployment object
Version tracking
Identity
spec object
Configuration
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]
status object
System-managed status
Canary tracking (runtime state)
Timestamps
Health tracking
Change tracking Revision is incremented on any change to the deployment (progress updates, state changes, etc.)
Current state
Possible values: [pending, in_progress, paused, completed, failed, canceled]
Progress tracking
create, update, restart, rollback, stop
Possible values: [create, update, restart, rollback, stop]
{
"deployment": {
"from_version": 0,
"id": "string",
"job_id": "string",
"job_type": "string",
"namespace": "string",
"spec": {
"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"
},
"status": {
"canary_nodes": [
"string"
],
"canary_promoted": true,
"completed_at": "string",
"created_at": "string",
"current_wave": 0,
"failed_nodes": 0,
"health_check_deadline": "string",
"healthy_deadline": "string",
"last_progress_time": "string",
"message": "string",
"revision": 0,
"state": "pending",
"total_nodes": 0,
"updated_at": "string",
"updated_nodes": 0
},
"to_version": 0,
"type": "create"
}
}