Argo Rollouts vs Flagger
Choose Argo Rollouts for a release with explicit pauses and analysis steps, or Flagger for a Deployment that follows a repeatable promotion policy.
- Argo release policy
- Rollout strategy
- Flagger release policy
- Canary targeting a workload
- Argo abort result
- Previous ReplicaSet active
- Flagger failed analysis
- Traffic returns to primary
Decision guide
- Argo Rollouts
- Use Argo Rollouts if a release engineer needs to specify the order of traffic changes, pauses, and measurements for a particular application.
- Flagger
- Use Flagger if several Deployment owners can share a traffic increment, measurement interval, and failed-check policy on a supported routing provider.
- Deciding factor
- Rehearse a failed release on the provider already serving the application. The deciding evidence is who can explain the failed measurement, restore traffic, and correct the revision that the next release will deploy.
Comparison matrix
| Decision factor | Argo Rollouts | Flagger |
|---|---|---|
| Release definition | Rollout strategy | Canary targeting a workload |
| Metric evaluation | AnalysisRun | Canary metrics or MetricTemplate |
| Serving revision after abort | Previous ReplicaSet active | Traffic returns to primary |
Which object will the release engineer change?
Start with the resource your deployment pipeline writes today. Argo gives a Rollout an ordered canary strategy. Flagger watches a target such as a Deployment and attaches a Canary policy to that workload.
In an Argo release definition, a step can set a weight, pause for review, or run analysis. A team with a long batch operation might expose a small cohort, wait for that operation to finish, and require its result before increasing traffic. The sequence is visible to the engineer reviewing the manifest. A Rollout can also reference an existing workload during adoption. Decide how old and new controllers hand off replicas before using that mode on a live application.
With Flagger, the application pipeline can continue to deliver a Deployment. For a Deployment target, the controller maintains a primary Deployment representing the promoted version and manages the services needed for delivery. A change to the target starts the configured analysis. Show the generated resources to whoever maintains the release pipeline. A rule that continually resets a generated Service selector or target replica count to a value stored elsewhere can compete with the controller during the very transition you want to observe.
What will ten percent mean on this cluster?
Identify the traffic provider before choosing a weight. Argo can approximate a requested weight through replica counts without a traffic router. Flagger’s weighted traffic behavior depends on the integration selected for the Canary.
Consider an API with four replicas. Without a weighted router, a whole pod is the smallest unit available for the split. Even if a quarter of the ready pods serve the candidate, connection reuse and unequal request durations can send it a different share of requests. If the test requires a particular HTTP traffic weight, verify support in the provider and controller versions installed on this cluster. Record the stable Service, candidate Service, and the routing object the controller will update.
Measure the split from request counters labeled by serving version. When a route says ten percent and the candidate receives zero requests, extending the observation window may simply preserve an empty test. First check that the route matches the hostname used by the test traffic. Then confirm the candidate Service selects ready pods and that the counter includes their revision label. Keep enough stable capacity to handle the full request rate if the controller cuts the candidate out.
Design the measurement before setting the failure threshold
Choose a signal that distinguishes a candidate defect from ordinary traffic variation. In Argo an AnalysisTemplate defines measurements and conditions used by an AnalysisRun. Flagger can evaluate built-in metrics or use a MetricTemplate for a provider-specific query.
For an illustrative orders API, suppose the candidate serves 40 requests in five minutes and two fail. Its observed success rate is 95 percent. A service-wide query could conceal both failures behind thousands of successful requests to the primary. Scope the numerator and denominator to the same revision, route, and time window. Decide what counts as a failed request and whether retries are counted at the proxy or at the application. Record the observed request count beside the calculated rate when making the release decision.
A quiet interval changes what that percentage can tell you. Zero failures on two requests offers little evidence about a rare checkout error. An empty time series offers no evidence of success at all. Define what the query returns when the denominator is zero and how the selected controller interprets that result. Argo documents an inconclusive analysis outcome that can pause a rollout. With Flagger, exercise the configured metric checks and their failure threshold against missing data before adopting a policy across services.
Walk one bad revision through both controllers
Suppose a candidate starts returning errors on order lookup after a small traffic shift. Run the same rehearsal with each controller, keeping the backend, routing provider, and metric query fixed.
For Argo, put an inline analysis step after the first traffic increase. Inspect the AnalysisRun for its actual measurement and the condition that evaluated it. A failing analysis can abort progression. A run classified as inconclusive calls for a human decision at the paused step. Those outcomes require different action from the release owner. Mark the candidate version in the incident timeline so another engineer can reproduce the query even after a later rollout has replaced the pods.
For Flagger, configure the analysis interval, metric range, and maximum failed checks for this service. During an unsuccessful check, inspect Canary events and the reported traffic weight. Once the configured failure threshold is reached, the controller stops the canary and returns traffic to the primary. Count checks against the controller’s actual timestamps. If the query covers five minutes and the controller polls every minute, several failures may describe the same two bad requests. The polling schedule alone does not provide independent samples.
What still needs repair after traffic returns?
Verify the serving revision with a request before closing the incident. Argo’s abort can make the previous ReplicaSet active while the Rollout template still specifies the failed revision. Flagger’s primary can likewise be healthy while the workload submitted for analysis still needs a fix.
For Argo, record the stable image digest and the digest in the desired template. If the service should stay on the older image, update the declared template and confirm the deployment pipeline will continue to request that revision. Merely removing the aborted condition without correcting the template can let the failed version progress again. Where Git supplies desired state, the Argo CD vs Flux comparison covers the separate question of which reconciler applies the change.
For Flagger, inspect the promoted primary and the failed target independently. Confirm that traffic reaches the primary and that the application response comes from its expected version. Prepare a corrected revision in the target’s delivery source and observe the next analysis. Traffic reversal cannot undo a database write or an event already emitted by the candidate. If either has lasting effects, give the application owner a separate recovery action with a success condition of its own.
Choose a controller with one rehearsal
Time a complete release with the team that will be on call. Start when the new candidate becomes eligible for traffic and finish when someone has verified the serving revision and the desired revision after a failure.
Give both implementations the same three cases: a healthy deployment, a regression visible only on the candidate, and a gap in metrics. Ask the reviewer to find the responsible workload, identify the decision that stopped or promoted it, and recover the request that produced the signal. Record which steps required privileges the reviewer lacks. A release policy that depends on an unavailable approver can leave a partial deployment serving traffic longer than intended.
If most releases use the same increments and the same health checks, try one Canary per workload using the same MetricTemplate and policy values. Flagger can ask for approval before increasing traffic or promoting through a confirmation webhook. For a service with a long-running check and a different approval point on each release path, put the pauses and checks directly in Argo’s step list. Ask the application owner which representation makes the pending decision easier to find. In either case, make the team demonstrate how the next release resumes safely after an interrupted analysis.
Frequently asked questions
Does the controller require the matching GitOps product?
Argo Rollouts can run without Argo CD, and Flagger can run without Flux. The delivery decision occurs inside the cluster. Document which component applies the workload manifest and which component owns the traffic change. Test that the reconciler preserves fields managed by the release controller.
How should a low-traffic service generate a meaningful result?
Choose a longer observation window or a representative synthetic request with a known expected response. Observe it at the candidate and keep its measurements identifiable. A readiness probe alone establishes little about a user operation that also calls a database.
Methodology and sources
We compared the documented canary lifecycle, analysis objects, metric checks, and recovery behavior on December 3, 2026. The four-replica service and request counts are worked examples. Adoption requires repeating the traffic and failure tests with the provider and controller versions used by the service.
- Argo Rollouts canary strategy and traffic management
- Argo Rollouts analysis templates and run outcomes
- Argo Rollouts abort behavior and desired template
- Flagger Canary targets, generated resources, and promotion
- Flagger metric templates and threshold ranges
- Flagger checks and confirmation webhooks
- Argo Rollouts FAQ on use with Argo CD
- Flagger project overview and deployment integrations