Application variants enable advanced deployment strategies including blue-green deployments, canary releases, and preview environments. Each variant represents a different version of an application with specific traffic routing configuration.
name
stringThe name of the application variant.
uid
stringThe unique identifier of the application variant.
namespace
stringThe Kubernetes namespace for this variant.
traffic_percentage
integerThe percentage of traffic routed to this variant (0-100).
traffic_split_name
stringThe name of the traffic split configuration.
status
stringThe current status of the variant (e.g., "active", "canary", "preview").
git_hash
stringThe git commit hash associated with this variant.
deploy_session
stringThe deployment session identifier.
dns_record
arrayArray of DNS records associated with this variant.
created_at
stringThe ISO 8601 timestamp when the application variant was created.
updated_at
stringThe ISO 8601 timestamp when the application variant was last updated.
Variant Types:
- Active: The current production version receiving 100% traffic
- Canary: A rollout variant receiving a percentage of traffic for testing
- Blue/Green: A rollout variant for blue-green deployments
- Preview: A preview environment for testing changes
Example
{
"name": "canary",
"uid": "variant-456def789",
"namespace": "my-app-canary",
"traffic_percentage": 10,
"traffic_split_name": "main-canary-split",
"status": "canary",
"git_hash": "a1b2c3d4e5f6",
"deploy_session": "deploy-session-123",
"dns_record": [
"canary.myapp.com",
"test.myapp.com"
],
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:45:00Z"
}