IT lexicon › Infra & Ops › Flagger

Flagger

Infra & Ops På svenska → Updated: 2026-07-30

An operator that runs canary rollouts automatically: shifts traffic in small steps, checks that error rate and latency hold, and rolls back without anyone having to wake up.

The manual procedure — release five percent, stare at Grafana, increase, stare again — works but requires a human and therefore rarely gets done consistently. Flagger instead describes the process declaratively: interval, step size, thresholds, and which queries constitute a pass. At each step traffic weights are adjusted through whatever happens to be in the cluster, be it a service mesh, an ingress or Gateway API, and the analysis runs against Prometheus or equivalent. If a version misses the threshold, traffic moves back and the rollout is marked failed. Webhooks can additionally run load tests or acceptance tests mid-flight, which is what makes the mechanism useful on services with no natural traffic. The tool came out of Weaveworks and now lives in the Flux family, with blue/green and A/B rollouts as variants of the same machinery.

← Back to the lexicon