Originally published on Naveed Ahmed's Engineering Blog.
A Kubernetes Deployment can tell you whether new Pods are becoming ready.
But what if the Pods pass their health checks while the application starts returning more HTTP 500 errors?
That's a problem progressive delivery can help address.
Argo Rollouts extends Kubernetes deployment behavior with canary releases, blue-green strategies and metric-driven analysis.
1. Argo Rollouts vs Kubernetes Deployment
A standard rolling update gradually replaces old Pods with new ones.
Argo Rollouts introduces a Rollout custom resource that can control release stages and integrate with external traffic routing and metrics.
For example, a canary might follow this sequence:
New application image
|
v
10% canary exposure
|
v
Evaluate error rate
|
+----+----+
| |
Pass Fail
| |
v v
50% Abort
|
v
100%
This requires an appropriate release strategy, configured metric provider and, for fine-grained traffic weights, a compatible traffic router.
2. Install the Controller
Argo Rollouts is available through its Helm chart:
helm repo add argo https://argoproj.github.io/argo-helm
helm repo update
For production, pin a reviewed chart version and controller image. Review its RBAC permissions, high availability, metrics and supported Kubernetes versions before deploying.
3. A Basic Canary Strategy
A simplified Rollout strategy can look like this:
strategy:
canary:
steps:
- setWeight: 10
- pause:
duration: 3m
- setWeight: 50
- pause:
duration: 5m
This is only the strategy section of a Rollout manifest.
Without an external traffic manager, weights are approximated through ReplicaSet sizing. A 10% setting does not guarantee exactly 10% of user requests.
For finer control, configure a supported ingress controller, service mesh, or Gateway API traffic-routing plugin.
4. Blue-Green Deployment
Blue-green uses two application versions:
- Active: receives production traffic.
- Preview: allows the new version to be tested before cutover.
A strategy may reference separate Kubernetes Services:
strategy:
blueGreen:
activeService: checkout-active
previewService: checkout-preview
autoPromotionEnabled: false
scaleDownDelaySeconds: 120
The old ReplicaSet can remain available during the configured scale-down delay.
This helps with rollback readiness, but doesn't automatically reverse database schema changes or external side effects.
5. Automated Analysis With Prometheus
Argo Rollouts can create an AnalysisRun from an AnalysisTemplate.
The analysis queries a metrics backend, evaluates the result and determines whether the rollout should continue.
Examples include:
- HTTP 5xx error rate
- Request latency
- Failed transactions
- Queue processing errors
- Application-specific SLO indicators
For a low-traffic canary, pay attention to missing or empty metrics.
A zero denominator or an empty Prometheus vector can produce misleading or inconclusive results.
Design explicit missing-data behavior and test the analysis before using it as an automatic production gate.
6. Argo CD vs Argo Rollouts
These two projects have different responsibilities.
Argo CD synchronizes the desired Kubernetes configuration from Git.
Argo Rollouts controls how new application versions are introduced to production traffic.
You can use both together:
Git Repository
|
v
Argo CD
|
v
Kubernetes Rollout
|
v
Argo Rollouts Controller
|
v
Canary / Blue-Green + Analysis
Review Argo CD diff settings for fields intentionally modified by the Rollouts controller or traffic integration.
7. Troubleshoot a Stalled Rollout
Install the official kubectl plugin and inspect the release:
kubectl argo rollouts get rollout checkout-api \
-n prod --watch
Check AnalysisRuns:
kubectl get analysisruns -n prod
Review Kubernetes events:
kubectl get events -n prod \
--sort-by=.metadata.creationTimestamp
Check the active rollout stage, metric query results, routing resources and ReplicaSet health.
Don't promote or abort a production rollout without confirming the intended effect.
Read the Full Production Guide
My complete article covers Argo Rollouts installation with Helm, detailed canary YAML, blue-green Services, Prometheus and Datadog analysis, GitOps integration, and common SRE troubleshooting scenarios.
Read Argo Rollouts: Canary, Blue-Green & Progressive Delivery
Official reference: Argo Rollouts Documentation.
How are you currently validating production releases beyond readiness checks?
Written by Naveed Ahmed — DevOps & Platform Engineering
Top comments (0)