Canary Deployment Traffic Split

Canary Deployment Traffic Split An architecture diagram generated by Archify. Client requests · All traffic 100% · Architecture component Client requests All traffic 100% Traffic Router · Gateway API / ALB / Istio · Architecture component Traffic Router Gateway API / ALB / Istio myapp-stable · stableService · Architecture component myapp-stable stableService myapp-canary · canaryService · Architecture component myapp-canary canaryService Stable ReplicaSet · v1.0.0 · 10 Pods · Stable (v1.0.0) Stable ReplicaSet v1.0.0 · 10 Pods Canary ReplicaSet · v2.0.0 · 1 Pod · Canary (v2.0.0) · canary Canary ReplicaSet v2.0.0 · 1 Pod canary HTTP 90% 10% Stable (v1.0.0) Canary (v2.0.0) Legend Service ReplicaSet capacity Traffic router Client requests

Canary steps

  • • setWeight: 5 → pause 2m → setWeight: 10 → analysis (success-rate)
  • • setWeight: 25 → pause 5m → setWeight: 50 → pause 5m
  • • setWeight: 75 → analysis (success-rate, latency-check) → setWeight: 100

Capacity and traffic differ

  • • Example: replicas: 10, dynamicStableScale: false
  • • Default stable 10 + canary 1; explicit scale settings can differ
  • • Default maxTrafficWeight: 100; request percentages are not exact