traffic splitting
Dividing incoming requests between two versions by percentage.
In more detail
The split can be done by an ingress controller, a gateway or a service mesh. Weights are raised step by step during a canary release.
Examples
steps: [{ setWeight: 10 }, { pause: { duration: 5m } }, { setWeight: 25 }]setWeight steps in Argo Rollouts set the canary’s share.Related terms
- canary release — Sending a small share of real traffic to a new version first, and increasing it only while its metrics stay healthy.
- service mesh — A layer of proxies alongside every service that handles traffic between services: routing, retries, TLS and telemetry.
- Ingress controller — The reverse proxy running in a Kubernetes cluster that reads Ingress rules and routes incoming traffic accordingly.
Taught in
- Continuous Delivery: Blue-Green & Canary Pipelines — Production Full-Stack Engineering