Theory
Theory: Traffic Split is a Mesh API, Not a Replica Count
Istio VirtualService weights send a percentage of requests to canary subsets. Replica count can stay equal while traffic is 1%.
Invariants
- DestinationRule subsets must match pod labels.
- Replica-based routing ≠ request-based routing under uneven load.
setCanaryScaleexists because HPA + replica canaries fight (later chapter).
Gateway → VirtualService 90% stable subset
10% canary subset
What can break
- Subsets that do not match Rollout’s pod labels.
How to read this chapter
Istio objects, weights, replica vs traffic.