Skip to main content
Argo Rollouts: Progressive Delivery Beyond Argo CD

Argo Rollouts: Progressive Delivery Beyond Argo CD

KU
· Founder & Chief Editor
• 8 min read•Updated •

Argo CD ships your manifests; Argo Rollouts ships them gradually with automated quality gates. The setup, the analysis templates that earn their place, and what we measure.

Key takeaways

  • Argo Rollouts replaces the Kubernetes Deployment with a Rollout resource that shifts traffic to a new version in steps.
  • Between steps, AnalysisTemplates query Prometheus for canary success rate and latency, and a failed analysis aborts and rolls back automatically.
  • Argo CD syncs Git to the cluster; Rollouts decides how fast the new version reaches users.

Argo Rollouts adds what Argo CD lacks: progressive delivery. It swaps the Deployment for a Rollout resource that moves traffic to a new version in steps (10%, 25%, 50%), runs Prometheus-backed analysis between steps, and aborts and rolls back automatically when the canary misbehaves. Argo CD makes the cluster match Git; Rollouts controls how fast users see it.

Verified against

Argo Rollouts v1.10.1 (released 2026-10-12), against the argo-rollouts.readthedocs.io canary, analysis and Rollout specification pages. Checked October 2026.

Argo CD will happily ship a broken deployment as fast as it can pull manifests. Together the two are a complete deploy story; Argo CD alone is half of one.

What Rollouts adds

Plain Kubernetes Deployments do rolling updates: take down N pods of the old version, bring up N of the new, repeat until all replicas are on the new version. Fast, but no quality gates between steps. If the new version is broken, you find out when the last user errors come in.

Argo Rollouts replaces the Deployment resource with a Rollout resource. Same shape, plus:

  • Canary / blue-green strategies with configurable step weights
  • Analysis templates that run between steps: Prometheus queries, smoke tests, anything that returns success or failure
  • Auto-abort and roll back if analysis fails
  • Manual pause + promote controls when you want a human in the loop
  • A dashboard showing which rollout step you're at

The Rollout custom resource is the entry point; everything else hangs off it.

A typical rollout

A Rollout shaped like the ones we use for HTTP APIs:

k8s/api/rollout.yaml
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: api
spec:
  replicas: 6
  selector:
    matchLabels:
      app: api
  template:
    # standard Pod spec
    ...
  strategy:
    canary:
      canaryMetadata:
        labels:
          role: canary
      stableMetadata:
        labels:
          role: stable
      maxSurge: "25%"
      maxUnavailable: 0
      steps:
        - setWeight: 10
        - pause: { duration: 5m }
        - analysis:
            templates:
              - templateName: success-rate
              - templateName: latency-p99
            args:
              - name: service-name
                value: api
        - setWeight: 25
        - pause: { duration: 10m }
        - analysis:
            templates:
              - templateName: success-rate
              - templateName: latency-p99
            args:
              - name: service-name
                value: api
        - setWeight: 50
        - pause: { duration: 10m }
        - setWeight: 100

Flow:

  1. Push a new image; the Rollout starts.
  2. 10% of traffic goes to the new version.
  3. 5-minute pause.
  4. Analysis: query Prometheus for success rate and p99 latency on the canary. If either fails its threshold, abort.
  5. If analysis passes: bump to 25%, repeat. Then 50%. Then 100%.

Total time is roughly half an hour. Slower than kubectl set image, but with quality gates between each step. One caveat: without a traffic router, weights are approximated by replica counts, so setWeight: 10 on 6 replicas cannot be an exact 10%. The docs recommend traffic management for fine-grained control.

Analysis templates that earn their place

This is the part most teams under-invest in. An analysis template defines a metric, a query, and a success condition. Rollouts runs it during the rollout's analysis steps.

The two we use universally:

k8s/analysis/success-rate.yaml
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
  name: success-rate
spec:
  args:
    - name: service-name
  metrics:
    - name: success-rate
      interval: 30s
      count: 10
      successCondition: result[0] >= 0.99
      failureLimit: 3
      provider:
        prometheus:
          address: http://prometheus.monitoring:9090
          query: |
            sum(rate(http_requests_total{
              service="{{args.service-name}}",
              status!~"5..",
              role="canary"
            }[2m]))
            /
            sum(rate(http_requests_total{
              service="{{args.service-name}}",
              role="canary"
            }[2m]))

Reads as: every 30 seconds, ten times, query Prometheus for "non-5xx rate / total rate on the canary." If more than three measurements come in below 99% (failureLimit: 3), the analysis fails and the rollout aborts. Setting count matters on inline analysis steps, because it bounds how long the step runs.

The role="canary" filter is the key: it compares only canary traffic, not traffic aggregated across versions. Without it, the stable version's traffic drowns out canary errors.

k8s/analysis/latency-p99.yaml
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
  name: latency-p99
spec:
  args:
    - name: service-name
  metrics:
    - name: latency-p99
      interval: 30s
      count: 10
      successCondition: result[0] < 1.0
      failureLimit: 3
      provider:
        prometheus:
          address: http://prometheus.monitoring:9090
          query: |
            histogram_quantile(0.99,
              sum(rate(http_request_duration_seconds_bucket{
                service="{{args.service-name}}",
                role="canary"
              }[2m])) by (le)
            )

P99 latency on the canary, failing if it goes over 1 second.

Beyond those, add a couple of service-specific checks (a synthetic that hits a critical endpoint, a check that the canary is writing to the right topic). The general pattern: one or two universal analyses plus a couple tailored to the service. For the abort mechanics in more depth, see our walkthrough of canary analysis and auto-abort in Argo Rollouts.

Pod labels for traffic shaping

The canary pattern relies on whatever sits in front of the pods (a mesh, an ingress, or plain Services) sending a slice of traffic to the new ReplicaSet. Rollouts manages the selectors for you: point canaryService and stableService at two Services and the controller keeps each one selecting only its own ReplicaSet.

For your metrics, the controller does not invent a version: canary label. Add one yourself with canaryMetadata and stableMetadata, as in the Rollout above; the canary labels only exist during an update. Make sure your Prometheus relabeling carries the pod label into the series, or the role="canary" filter matches nothing. Alternatively, pass the pod template hash into the template with valueFrom: podTemplateHashValue: Latest.

For Istio, NGINX Ingress, the Gateway API and several other routers, Rollouts can manage the weights directly through its traffic-routing integrations.

The regressions this setup is built to block

These are the failure patterns that canary analysis catches, and the ones it misses until you add a check:

Memory leak in a long-running service. Memory grows steadily, but latency stays fine for the first 20 minutes, so the latency template passes. Only a custom "memory growth rate" analysis catches it, and once a team has been bitten, that check goes into the standard template set for the service.

Connection pool misconfiguration. A larger pool on the new version, with the old version's connections still open, pushes the database past its connection limit. Some requests time out, p99 latency rises, and the analysis aborts at the 25% step.

200 OK with the wrong content. A handler returns 200 with an empty body. Latency and status codes look fine; users are broken. Success-rate analysis cannot see this. A content-correctness check can.

Every aborted deploy teaches you something; a silent regression to 100% teaches you nothing.

When Rollouts isn't worth it

Internal-only services with one user (the team). A staging deploy that 5 engineers use doesn't need a 30-minute canary. kubectl set image is fine.

Services with very low traffic. If the canary at 10% gets 3 requests per minute, your analysis is statistically meaningless. Either skip canary or use blue-green instead (full switch with smoke tests).

Services without good metrics. If you can't reliably measure success rate and latency, you can't analyze a rollout. Fix observability first.

Operating Rollouts

The mechanical setup:

  • Install the Argo Rollouts controller (one Helm chart or manifest, one CRD set) and the kubectl argo rollouts plugin.
  • Replace your Deployments with Rollouts (similar spec, swap kind: Deployment for kind: Rollout).
  • Wire your mesh, ingress, or Services to the canary and stable Services Rollouts manages.
  • Write AnalysisTemplates for your standard metrics.
Terminal
kubectl argo rollouts get rollout api --watch
kubectl argo rollouts promote api   # skip the current pause
kubectl argo rollouts abort api     # send traffic back to stable

The first service takes real effort; later ones mostly reuse the templates. If Argo CD manages these manifests, our Argo CD practices for GitOps cover the sync side. Aborted rollouts should page on-call, with a runbook for "what to do when a canary aborts."

What we don't bother with

Experiment resources for A/B tests split by user attributes: a dedicated experimentation platform does it better. Header-based canary routing: powerful, but weighted routing is enough for us. Blue-green: it fits workloads where two versions can't serve traffic side by side, and we have few of those; a Postgres cutover story shows what blue-green takes once state is involved.

Questions people ask

What is the difference between Argo CD and Argo Rollouts?

Argo CD is a GitOps controller: it watches a Git repository and syncs manifests into the cluster until live state matches. Argo Rollouts is a deployment controller: it replaces the Deployment with a Rollout that shifts traffic in steps, runs analysis, and aborts bad releases. They are separate projects that work well together, with Argo CD applying the Rollout and Rollouts deciding how fast it progresses.

Does Argo Rollouts need a service mesh?

No. Without a traffic router, Rollouts approximates weights by scaling the canary and stable ReplicaSets, so 10% on ten replicas means one canary pod. That works, but it is coarse at low replica counts. For exact percentages, header routing, or weights independent of pod count, integrate a router such as Istio, NGINX Ingress, or a Gateway API implementation.

Argo Rollouts is the missing piece between "Argo CD applied my manifest" and "my users got a working deploy." Once you have good metrics and a few analysis templates, the gate between bad deploys and your users is automated.

Sources

Explore topics:KubernetesDevOps
React
Share this post
Cite this article
Plain text

Kiril Urbonas (2026). Argo Rollouts: Progressive Delivery Beyond Argo CD. DevOpsNess. Updated 2026-11-11. https://www.devopsness.com/blog/argo-rollouts-progressive-delivery

Markdown

[Argo Rollouts: Progressive Delivery Beyond Argo CD](https://www.devopsness.com/blog/argo-rollouts-progressive-delivery) (Kiril Urbonas, DevOpsNess, updated 2026-11-11)

KU

Kiril Urbonas

Founder & Chief Editor

607 articles
View all articles by Kiril Urbonas

You might have missed

Evergreen posts worth revisiting.