Logo

Command Palette

Search for a command to run...

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.

Model
namestring

The name of the application variant.

uidstring

The unique identifier of the application variant.

namespacestring

The Kubernetes namespace for this variant.

traffic_percentageinteger

The percentage of traffic routed to this variant (0-100).

traffic_split_namestring

The name of the traffic split configuration.

statusstring

The current status of the variant (e.g., "active", "canary", "preview").

git_hashstring

The git commit hash associated with this variant.

deploy_sessionstring

The deployment session identifier.

dns_recordarray

Array of DNS records associated with this variant.

created_atstring

The ISO 8601 timestamp when the application variant was created.

updated_atstring

The 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
Related Models:Stack

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"
}