카나리 배포 트래픽 분배

카나리 배포 트래픽 분배 An architecture diagram generated by Archify. 클라이언트 요청 · 전체 트래픽 100% · Architecture component 클라이언트 요청 전체 트래픽 100% Traffic Router · Gateway API / ALB / Istio · Architecture component Traffic Router Gateway API / ALB / Istio my-app-stable · stableService · Architecture component my-app-stable stableService my-app-canary · canaryService · Architecture component my-app-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 · 2 Pods · Canary (v2.0.0) · canary Canary ReplicaSet v2.0.0 · 2 Pods canary HTTP 80% 20% Stable (v1.0.0) Canary (v2.0.0) Legend Service ReplicaSet 용량 트래픽 라우터 클라이언트 요청

카나리 단계 (steps)

  • • setWeight: 5 → 30초 대기 → Analysis(success-rate)
  • • setWeight: 20 → 수동 승격 대기 (pause: {})
  • • setWeight: 50 → 1분 대기 → setWeight: 80 → 최종 Analysis → 100%

용량과 트래픽은 별개

  • • 예제: replicas10, dynamicStableScale=false
  • • 기본 stable10 + canary2; 별도 scale 설정 시 달라짐
  • • maxTrafficWeight 기본100; 요청 비율의 확정값이 아님