Operate and shipLesson 10 of 10
- Metrics, logs, events and traces, not reconciled
- Horizontal pod autoscaling, not reconciled
- Right-sizing and in-place resize, not reconciled
- A troubleshooting method, not reconciled
- kubectl debug and ephemeral containers, not reconciled
- Debugging from the node: crictl, journalctl and nsenter, not reconciled
- Upgrades and version skew, not reconciled
- etcd, backup and disaster recovery, not reconciled
- GitOps with Argo CD, not reconciled
- Progressive delivery, not reconciled
Progressive delivery
Progressive delivery exposes a new version to a little traffic, measures it, and widens or aborts on the evidence. Argo Rollouts adds canary steps, blue-green switches and metric gates; feature flags release per user.
Shows the lesson one block at a time. Arrow keys step, number keys jump to a scene, and Escape returns to the page where you were.
A rolling update replaces pods gradually, but “gradually” is measured in pods, not in evidence. Every new pod that passes its readiness probe takes its share of production traffic, and the rollout carries on whether or not users are getting errors. progressive deliveryReleasing a change to a small, controlled share of traffic or users first, measuring it, and widening or reverting the release based on what the measurements show. puts the evidence back in charge. This lesson builds it from plain Kubernetes first, then with Argo Rollouts, then with metric gates, and ends with the case where traffic is the wrong tool and a feature flag is the right one.
Reconcile, in 7 scenes
Beyond RollingUpdate
A Deployment is not blind. You can pause it mid-rollout, resume it, and progressDeadlineSeconds marks a rollout that stops making progress. What it cannot do is decide anything:
kubectl set image deployment/web web=ghcr.io/kx-labs/web:1.1
deployment.apps/web image updated
kubectl rollout pause deployment/web
deployment.apps/web paused
kubectl get rs -l app=web
NAME DESIRED CURRENT READY AGE web-549795f985 2 2 2 30s web-fc9bb484d 3 3 3 60s
kubectl rollout status deployment/web --timeout=5s
Waiting for deployment "web" rollout to finish: 2 out of 4 new replicas have been updated... error: timed out waiting for the condition
The pause landed wherever the rollout happened to be: two new pods and three old ones, so the new version serves about two requests in five. The split comes from maxSurge, maxUnavailable and readiness timing, not from a number anyone chose. Nothing queries an error rate before the next step, nothing reverts automatically when one climbs, and a stalled rollout only gets its Progressing condition set to False. Traffic weights, metric checks between steps and automatic abort are what progressive delivery adds.
ExplainerA rolling update
25% of 4 is 1
25% of 4 is 1
Old pods leave only as new ones become available
The Deployment controller's arithmetic: one step per change, each new pod ready exactly the delay after it is created.
Old ReplicaSet nginx:1.27
spec.replicas 44 pods, all ready
New ReplicaSet nginx:1.28
spec.replicas 00 of 4 desired pods ready
kubectl get rs
Choose Cluster to read the ReplicaSets back from a simulated cluster at each second.
Step 0 of 8, 0 s in
The old ReplicaSet runs 4 of 4 pods ready. Step to start the rollout.
The Deployment controller's arithmetic: one step per change, each new pod ready exactly the delay after it is created.
The old ReplicaSet runs 4 of 4 pods ready. Step to start the rollout.
The core mechanism needs nothing beyond Deployments and Services. A Service sends traffic to every ready pod its selector matches, so two Deployments whose pods share a label split traffic by pod count. In the namespace canary, four stable pods and one canary pod carry app: web:
Manifestcanary.yaml
- deployment.apps/web-stable
- deployment.apps/web-canary
- service/web
The preview runs once this page's cluster starts.$ kubectl diff -f canary.yamlkubectl -n canary get pods -L track
NAME READY STATUS RESTARTS AGE TRACK web-canary-9df7588b8-cjh5z 1/1 Running 0 30s canary web-stable-c8cd44d46-7xsmg 1/1 Running 0 30s stable web-stable-c8cd44d46-kcvgl 1/1 Running 0 30s stable web-stable-c8cd44d46-x6vbk 1/1 Running 0 30s stable web-stable-c8cd44d46-znww7 1/1 Running 0 30s stable
kubectl -n canary run client --image=curlimages/curl:8.23.0 --command -- sleep 3600
pod/client created
kubectl -n canary wait --for=condition=Ready pod/client --timeout=60s
pod/client condition met
kubectl -n canary exec client -- curl -s web
{"service":"web","version":"1.1.0","pod":"web-canary-9df7588b8-cjh5z"}kubectl -n canary exec client -- curl -s web
{"service":"web","version":"1.0.0","pod":"web-stable-c8cd44d46-7xsmg"}kubectl -n canary exec client -- curl -s web
{"service":"web","version":"1.0.0","pod":"web-stable-c8cd44d46-kcvgl"}kubectl -n canary exec client -- curl -s web
{"service":"web","version":"1.0.0","pod":"web-stable-c8cd44d46-x6vbk"}kubectl -n canary exec client -- curl -s web
{"service":"web","version":"1.0.0","pod":"web-stable-c8cd44d46-znww7"}One request in five reached version 1.1.0: a 20% canary, set by replica count. A 1% canary this way needs 99 stable pods. Blue-green is the other primitive. In the namespace blue-green, with two Deployments, web-blue on 1.0 and web-green on 1.1, labelled color: blue and color: green, the Service’s selector decides which one is live, and changing the selector moves all traffic at once:
kubectl -n blue-green exec client -- curl -s web
{"service":"web","version":"1.0.0","pod":"web-blue-7ff95b5f49-5tm9m"}kubectl -n blue-green patch service web -p '{"spec":{"selector":{"color":"green"}}}'
service/web patched
kubectl -n blue-green exec client -- curl -s web
{"service":"web","version":"1.1.0","pod":"web-green-58d6f8bb99-jclqc"}kubectl -n blue-green exec client -- curl -s web
{"service":"web","version":"1.1.0","pod":"web-green-58d6f8bb99-jbl62"}The strategic merge patch kept app: web in the selector and changed color. Rolling back is the reverse patch, instant as long as the blue pods are still running. Both techniques work, and both leave the hard parts to you: deciding when to widen, measuring, and reverting at 3 a.m.
Argo Rollouts
Argo RolloutsA Kubernetes controller and kubectl plugin that replaces a Deployment with a Rollout resource whose strategy is a canary or blue-green release, with traffic shaping and analysis. automates those two patterns. A Rollout, argoproj.io/v1alpha1 in Argo Rollouts 1.10.2, has the same replicas, selector and pod template as a Deployment, and its strategy is canary or blueGreen instead of RollingUpdate. Like a Deployment it manages ReplicaSets, one per template revision. A single controller Deployment reconciles Rollouts and the AnalysisRuns and Experiments they start. Install it from a pinned release’s install.yaml into the argo-rollouts namespace; the kubectl plugin is a separate binary from the same release.
Day to day you drive it through the kubectl plugin: kubectl argo rollouts get rollout web --watch shows steps, weights and analysis; promote continues past a pause, or skips every remaining step with --full; abort returns traffic to the stable version; retry rollout starts an aborted update again; undo goes back to an earlier revision. There is no rollback subcommand.
Argo CD understands Rollouts. While a Rollout is shifting weight or running analysis its health is Progressing; paused at a step or waiting for promotion it shows Suspended; aborted, it shows Degraded.
Canary steps
A canary strategy is a list of steps the controller executes in order:
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: web
namespace: shop
spec:
replicas: 10
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: web
image: ghcr.io/kx-labs/web:1.1
ports:
- containerPort: 8080
strategy:
canary:
canaryService: web-canary
stableService: web-stable
abortScaleDownDelaySeconds: 600
antiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
weight: 1
trafficRouting:
plugins:
argoproj-labs/gatewayAPI:
httpRoute: web
namespace: shop
steps:
- setWeight: 5
- pause: { duration: 10m }
- setWeight: 25
- analysis:
templates:
- templateName: success-rate
args:
- name: service-name
value: web-canary
- setWeight: 50
- pause: {}
setWeight sets the canary’s share; pause with a duration waits, and pause: {} waits until someone runs promote; analysis runs an AnalysisTemplate and blocks until it finishes. After the last step the canary becomes the new stable version.
How a weight becomes traffic depends on whether there is a traffic router. Without trafficRouting, the controller approximates the weight with replica counts, exactly the two-Deployment trick above, picking the canary and stable counts, within maxSurge, whose ratio comes closest. With 10 replicas, setWeight: 10 means one canary pod and nine stable ones. With 4 replicas the smallest canary, one pod, is already 25% of four, and the closest the default 25% surge allows is one canary beside four stable pods, 20%. With trafficRouting, the router splits traffic between two Services at exactly the weight in the step. The controller adds a rollouts-pod-template-hash label to the selectors of canaryService and stableService so each selects one ReplicaSet. By default it still scales the canary ReplicaSet to match the current weight, while the stable ReplicaSet stays at full size unless dynamicStableScale: true; setCanaryScale steps, available only with a router, size the canary independently of its traffic.
Routers are implemented as providers. For Gateway API, routing comes from the argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi plugin, which rewrites the weight on an HTTPRoute’s backends. The controller loads it from the location registered in its argo-rollouts-config ConfigMap, and the controller’s ServiceAccount needs get, update and patch on httproutes:
apiVersion: v1
kind: ConfigMap
metadata:
name: argo-rollouts-config
namespace: argo-rollouts
data:
trafficRouterPlugins: |-
- name: argoproj-labs/gatewayAPI
location: https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi/releases/download/v0.18.0/gatewayapi-plugin-linux-amd64
The HTTPRoute starts with every request on the stable Service, and the plugin moves weight to the canary Service step by step:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web
namespace: shop
spec:
parentRefs:
- name: public
rules:
- backendRefs:
- name: web-stable
port: 80
weight: 100
- name: web-canary
port: 80
weight: 0
Istio is a built-in provider; use its networking.istio.io/v1 VirtualService, GA since Istio 1.22. Others include Traefik, Apache APISIX, Kong Ingress and cloud load balancers. New providers are accepted only as plugins. The NGINX provider remains, but the community ingress-nginx controller behind it was retired on 2026-03-24, so it routes for a controller that gets no more fixes. The SMI provider remains in the code, but the SMI specification is archived.
Two timers decide how long the old pods live. scaleDownDelaySeconds, 30 by default and used with a traffic router, delays scaling down the previous stable ReplicaSet after a successful promotion so in-flight traffic drains. abortScaleDownDelaySeconds, also 30 by default, delays scaling down the canary after an abort; raise it, or set 0 to keep the canary indefinitely, when you need its logs for the post-mortem. antiAffinity keeps new pods off nodes running the previous ReplicaSet; a plain podAntiAffinity on app: web would match pods of both versions and only spread all of them.
Blue-green
The blueGreen strategy runs a full second ReplicaSet and switches Services between them:
strategy:
blueGreen:
activeService: web-active
previewService: web-preview
autoPromotionEnabled: false
previewReplicaCount: 2
prePromotionAnalysis:
templates:
- templateName: smoke-test
postPromotionAnalysis:
templates:
- templateName: success-rate
args:
- name: service-name
value: web-active
scaleDownDelaySeconds: 600
On an update the controller creates the new ReplicaSet and points previewService at it by injecting its rollouts-pod-template-hash into the selector. The new ReplicaSet scales to previewReplicaCount, or to full size when that is unset, and prePromotionAnalysis runs against it. Then the Rollout pauses, because autoPromotionEnabled is false; it defaults to true, and autoPromotionSeconds promotes after a fixed wait instead. On promotion the new ReplicaSet scales to full size, activeService switches to it, and postPromotionAnalysis runs. If that analysis fails, the Rollout aborts and switches the active Service straight back, which is possible because the previous ReplicaSet is kept scaled up until post-promotion analysis succeeds. After scaleDownDelaySeconds, 30 by default, the old ReplicaSet scales to zero and is kept for undo, up to the revision history limit.
Blue-green has no trafficRouting field: traffic moves only by rewriting the two Services’ selectors, all at once. Weighted routing between versions is what the canary strategy is for. Running two full versions also doubles capacity during the switch, and a required pod anti-affinity on the app label would make that impossible on a small cluster. blueGreen.antiAffinity targets only the previous ReplicaSet. Notifications about promotions and aborts come from Argo Rollouts’ own notification engine, configured in the argo-rollouts-notification-configmap ConfigMap and subscribed to with annotations on the Rollout, not from Argo CD’s notification settings.
Analysis
An AnalysisTemplateAn Argo Rollouts resource that defines metrics to measure, how often, against which provider, and the conditions under which each measurement succeeds or fails. is the gate. Each analysis step or hook creates an AnalysisRun from it:
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
name: success-rate
namespace: shop
spec:
args:
- name: service-name
metrics:
- name: success-rate
initialDelay: 1m
interval: 1m
count: 5
failureLimit: 1
successCondition: result[0] >= 0.99
provider:
prometheus:
address: http://prometheus.monitoring.svc:9090
query: |
sum(rate(http_requests_total{service="{{args.service-name}}",code!~"5.."}[2m]))
/
sum(rate(http_requests_total{service="{{args.service-name}}"}[2m]))
The pieces behave precisely:
- Arguments.
{{args.service-name}}is filled from the step’sargs. An argument with no value and no default is required, and leaving it out makes the AnalysisRun error. - Timing. This metric measures five times, a minute apart, starting a minute in. The last measurement lands at
initialDelay+ (count− 1) ×interval, here 1 + 4 × 1 = 5 minutes. Withoutcounta metric runs until stopped, which suits background analysis and means an inline analysis step never completes. - Result shape. The Prometheus provider returns an instant vector as an array, read as
result[0]; a query wrapped inscalar()is read asresult. - Limits.
failureLimitcounts failed measurements in total, not in a row, and the metric fails when failures exceed it; the default is 0, so one failure fails.consecutiveErrorLimit, default 4, tolerates errors such as an unreachable Prometheus,inconclusiveLimitdefaults to 0, andconsecutiveSuccessLimit, available since Argo Rollouts 1.8, can end a metric early after enough consecutive successes. - Outcomes. A measurement that meets neither a
successConditionnor afailureCondition, when both are set, is Inconclusive, which pauses the Rollout for a person to decide. A failed run aborts the Rollout: the canary weight returns to zero and the Rollout isDegraded.
Analysis can also run in the background across several steps, starting at startingStep, and other providers include Datadog, whose apiVersion: v2 form takes several queries and a formula, New Relic, a Web provider that reads a JSON field from any URL, and a Job provider that passes when a Kubernetes Job succeeds. The Prometheus provider also takes a timeout, request headers and authentication blocks.
An experiment step runs short-lived ReplicaSets beside the Rollout, typically a baseline on the stable template and a canary on the new one, and analyses them for a fixed duration. Each entry in the experiment’s analyses needs a name as well as a templateName. To aim an analysis at one template’s pods, pass {{templates.baseline.podTemplateHash}} as an argument value; valueFrom.podTemplateHashValue accepts only Stable or Latest. Experiment pods get traffic only when a Service selects them or the step sets weights through a traffic router, and a comparison between two idle ReplicaSets measures nothing.
SLO-driven gates
The success condition is where an SLO turns into a decision. Gate on SLIService level indicators: measurements of user experience expressed as the proportion of good events among all events. users feel, not on CPU:
- Availability: good requests over all requests, as in the template above. Define “good” deliberately; counting only 5xx as bad treats a flood of 404s from a broken route as success.
- Latency: the proportion of requests faster than a threshold, for example the share of requests under 400 ms, which comes straight from histogram buckets. Percentiles such as p99 describe the distribution and help choose the threshold, but the SLI is the proportion.
- Resources, only as a guard: CPU saturation is
rate(container_cpu_usage_seconds_total[5m])divided by the quota,container_spec_cpu_quota / container_spec_cpu_period, never the raw counter.
Compare the canary with the stable version, not with a fixed number alone, so a bad hour for a shared dependency does not fail every release. Guard against an empty canary: at 5% weight in a quiet hour the ratio can be 0/0, which Prometheus returns as NaN and every comparison treats as false, so pair the ratio with a minimum request rate. Know where the numbers come from: with Istio, sidecar mode reports HTTP metrics from every Envoy, while ambient mode, GA since Istio 1.24, reports only TCP metrics from ztunnel unless a waypoint proxy handles the HTTP layer. A cluster-level check such as “the Service has ready endpoints” reads EndpointSlices, since the v1 Endpoints API is deprecated from 1.33.
Feature flags
A feature flagA runtime switch in application code, evaluated per request against a context such as user, account or region, that turns a code path on or off without a deploy. separates deploying code from releasing a feature. The new code ships dark to every pod; who sees it is a configuration change evaluated per request. That gives two things traffic weights cannot: targeting, because a flag can choose particular users, accounts or regions where a weight chooses random requests, and a kill switch that works in seconds without touching the cluster. SDKs evaluate flags against a context: LaunchDarkly’s Python SDK 8, for example, introduced contexts built with Context.create, and SDK 9 removed user dictionaries. OpenFeature, a CNCF project, standardises the evaluation API across vendors.
| Use a progressive rollout when | Use a feature flag when |
|---|---|
| The risk is the build itself: dependencies, configuration, performance, a crash | The risk is the feature: behaviour, UX, business logic |
| Every request should see the change once the release completes | Particular users or accounts must go first |
| Rollback can be a redeploy of the previous version | It must be switched off in seconds |
The two combine: a Rollout gets the new build safely onto every pod, and a flag then releases the feature inside it, one cohort at a time. Flags have a cost: each one is a branch to test in both states, and stale flags pile up as debt unless each has an owner and a removal date. Flagger 1.45, a Flux project, is the main alternative to Argo Rollouts; it drives a Deployment through a flagger.app/v1beta1 Canary resource instead of replacing it.
kubectl --context kind-kx create deployment web-stable --image=nginx:1.30 --replicas=4kubectl --context kind-kx create deployment web-canary --image=nginx:1.31 --replicas=1kubectl --context kind-kx patch deployment web-stable -p '{"spec":{"template":{"metadata":{"labels":{"role":"web"}}}}}'kubectl --context kind-kx patch deployment web-canary -p '{"spec":{"template":{"metadata":{"labels":{"role":"web"}}}}}'kubectl --context kind-kx expose deployment web-stable --name=web --port=80 --selector=role=webkubectl --context kind-kx get endpointslices -l kubernetes.io/service-name=webkubectl --context kind-kx get pods -l role=web -L appkubectl --context kind-kx delete deployment web-stable web-canarykubectl --context kind-kx delete service web
For your own kind cluster kx: copy a command and paste it into your terminal. Run in the simulator runs the same command in this page's simulated cluster instead; nothing on this page touches your machine. Both Deployments' pods carry role=web after the patches, so the Service's EndpointSlice lists five addresses and the nginx:1.31 canary gets about one connection in five. Scaling web-stable is how this kind of canary changes its weight.
Actual state
Check your understanding
Your first answer to each check is the one that counts. After a miss you can answer again; passing every check reconciles the lesson.
Lesson not yet reconciled
Desired: 5 objectives, 0 metReconciled: 5 of 5 objectives met
- Say what a Deployment's rolling update cannot do, and build a canary and a blue-green release from plain Deployments and Services. (not yet met)
- Run a canary with Argo Rollouts steps, pauses and traffic weights, with or without a traffic router. (not yet met)
- Run a blue-green release with active and preview Services and promotion analysis. (not yet met)
- Gate promotion on metrics with an AnalysisTemplate whose conditions encode error-rate and latency SLIs. (not yet met)
- Choose between a progressive rollout and a feature flag for a risky change. (not yet met)
Pass every check above to reconcile this lesson.
Every check has passed, so the desired state is met. First-try accuracy: 0 of 6. This lesson's review cards are in your queue.
Changed since the notes
This lesson draws on an earlier set of study notes. Where the documentation contradicts a claim in them, qualifies it or has moved past it, the claim is listed here with the corrected statement and the source it was checked against.
Show 40 corrections
The notes saidTraffic management providers include 'AWS App Mesh'
CorrectedAWS discontinued App Mesh on 2026-09-30; console and resource access ended and AWS points users to Amazon ECS Service Connect (on EKS: VPC Lattice, Istio or Gateway API). The appMesh field remains in the Rollouts API, but the Rollouts traffic-management docs no longer list it. Remove it from lessons.
The notes saidTraffic providers include 'NGINX Ingress Controller'
CorrectedThe nginx provider is still in Rollouts, but ingress-nginx itself is retired and archived (last release 2026-03-19). Teach the Gateway API traffic router plugin (argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi, v0.18.0), ALB, or Istio instead.
The notes saidInstall from releases/latest/download/install.yaml; feature set as described
CorrectedThe install command is unchanged (kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml); pin a version in production. Latest stable is v1.10.2, with v1.11.0-rc1 in pre-release. Gateway API routing is the argoproj-labs plugin (v0.18.0); the SMI provider is still listed but the SMI spec repository is archived; new traffic and metric providers are accepted only as plugins; consecutiveSuccessLimit exists since v1.8.
The notes saidCalls it 'ALB Ingress Controller'
CorrectedName it AWS Load Balancer Controller (renamed from AWS ALB Ingress Controller at v2, 2020). The Rollouts ALB page uses the new name; its provider index still shows the old label.
Sourceargoproj.github.io/argo-rollouts/features/traffic-management/alb
The notes saidMigration: 'Change the apiVersion and kind… The workload continues running; Argo Rollouts takes over management'
CorrectedA new Rollout does not adopt the Deployment's ReplicaSets or pods; both run side by side (doubling pods behind a shared Service) until the Deployment is deleted or scaled down, and the docs warn to keep both running during cutover to avoid downtime. Alternative: keep the Deployment and reference it with spec.workloadRef plus scaleDown: never | onsuccess | progressively.
The notes saidRolling updates have 'no pause to verify'
CorrectedOverstated. Deployments support kubectl rollout pause/resume and progressDeadlineSeconds. What they lack is step-based automated analysis, traffic-weight control and automated abort/rollback.
Sourcekubernetes.io/docs/concepts/workloads/controllers/deployment#pausing-and-resuming-a-deployment
The notes saidPresents 'Analysis Controllers' as a separate component
CorrectedThere is a single argo-rollouts controller Deployment; it reconciles Rollouts, AnalysisRuns and Experiments.
The notes saidVirtualService apiVersion networking.istio.io/v1alpha3
CorrectedIstio 1.22 promoted VirtualService, DestinationRule, Gateway, ServiceEntry, Sidecar, WorkloadEntry, WorkloadGroup, Telemetry and PeerAuthentication to v1. Use networking.istio.io/v1; v1alpha3/v1beta1 are still served with an identical schema.
The notes saidIngress annotation kubernetes.io/ingress.class: nginx; NGINX Ingress Controller as the primary example
CorrectedThe kubernetes.io/ingress.class annotation was never formally defined and was replaced by spec.ingressClassName (IngressClass, Kubernetes 1.18). ingress-nginx is retired and archived (March 2026), so primary examples should use ALB, Istio or the Gateway API plugin.
The notes saidALB integration fields ingress/servicePort/rootService
CorrectedCurrent fields: ingress (single) or ingresses (list, mutually exclusive), servicePort (required), rootService (optional; defaults to canary.stableService, required with pingPong), annotationPrefix. pingPong (pingService/pongService) is supported for ALB. TargetGroup IP/weight verification needs the controller flag --aws-verify-target-group.
The notes saidfailureLimit: 3 'fails after 3 consecutive failures'
CorrectedfailureLimit counts total failed measurements, not consecutive ones, and the metric fails only when failed > failureLimit, so with failureLimit: 3 the 4th failure fails the run (the Rollouts docs prose 'after three failed measurements' is imprecise; the controller code compares failed > failureLimit). failureLimit: -1 disables it.
The notes saidscaleDownDelaySeconds: 300 'keeps the canary ReplicaSet for 5 minutes after abort'
Correctedcanary.scaleDownDelaySeconds (default 30, traffic routing only) delays scaling down the previous stable ReplicaSet after a successful promotion. After an abort, canary pods are governed by abortScaleDownDelaySeconds (default 30; 0 means never scale down).
Sourceargoproj.github.io/argo-rollouts/features/specification
The notes saidThe pod anti-affinity example 'ensures canary pods don't share nodes with stable pods'
CorrectedA podAntiAffinity on app: my-app matches pods of both versions, so it only spreads all app pods. Use strategy.canary.antiAffinity (required or preferred), which Rollouts injects against the previous ReplicaSet's pod-template-hash.
Sourceargoproj.github.io/argo-rollouts/features/anti-affinity/anti-affinity
The notes saidThe ALB setup 'requires a root Service'
CorrectedrootService is optional; when omitted the Ingress rule must reference the stableService. It is required only with pingPong.
Sourceargoproj.github.io/argo-rollouts/features/traffic-management/alb
The notes saidThe experiment step's analyses entries lack the name field
CorrectedEach entry under experiment analyses requires name (ExperimentAnalysisTemplateRef.Name) in addition to templateName.
The notes said'ALB integration enables blue-green for external traffic through AWS load balancers'
CorrectedBlue-green has no trafficRouting. With ALB the Ingress points at the activeService (and optionally the previewService) and promotion switches Service selectors. In IP mode, enable the controller's TargetGroup IP verification (--aws-verify-target-group) because readiness gates are not injected for pods selected only after the selector switch.
The notes saidField set for blueGreen strategy
CorrectedCurrent blueGreen fields: activeService, previewService, autoPromotionEnabled, autoPromotionSeconds, previewReplicaCount, prePromotionAnalysis, postPromotionAnalysis, scaleDownDelaySeconds (default 30), scaleDownDelayRevisionLimit, abortScaleDownDelaySeconds (default 30), antiAffinity, activeMetadata and previewMetadata.
The notes saidShows blueGreen.trafficRouting with an Istio VirtualService
CorrectedtrafficRouting exists only under strategy.canary. Blue-green switches traffic solely by rewriting the active and preview Service selectors; weighted Istio routing requires the canary strategy.
Sourceargoproj.github.io/argo-rollouts/features/specification
The notes saidWhen postPromotionAnalysis fails 'the rollout is considered failed (though traffic has already switched)'
CorrectedIf post-promotion analysis fails or errors, the Rollout aborts and switches the active Service back to the previous stable ReplicaSet, which is kept until post-promotion analysis succeeds.
Sourceargoproj.github.io/argo-rollouts/features/analysis#bluegreen-post-promotion-analysis
The notes saidRequired podAntiAffinity on app: my-app 'ensures blue and green pods run on different nodes'
CorrectedThe selector matches every pod of both versions, so only one app pod fits per node (5 active + 5 preview need 10 nodes) and the rest stay Pending. Use blueGreen.antiAffinity, which targets only the previous ReplicaSet.
Sourceargoproj.github.io/argo-rollouts/features/anti-affinity/anti-affinity
The notes saidRollout notification triggers placed 'In ArgoCD notification configuration' using rollout.status fields
CorrectedRollout notifications are configured in the argo-rollouts-notification-configmap ConfigMap (trigger.<name> and template.<name> keys) and sent by Argo Rollouts' own notification engine, with subscriptions as annotations on the Rollout. Argo CD's argocd-notifications-cm does not drive them.
Sourceargoproj.github.io/argo-rollouts/features/notifications
The notes said'During preview phase, the Application shows as Progressing'
CorrectedWhile the Rollout is paused awaiting promotion (status.phase Paused), Argo CD maps it to Suspended.
Sourcegithub.com/argoproj/argo-cd/blob/master/resource_customizations/argoproj.io/Rollout/health.lua
The notes said'if the old ReplicaSet has been removed'
CorrectedThe old ReplicaSet is scaled to zero after scaleDownDelaySeconds and kept up to revisionHistoryLimit, not removed.
The notes saidDatadog provider with interval and a single query
CorrectedThe datadog provider defaults to apiVersion v1 (single query plus interval). apiVersion v2 supports queries (map) and formula, available since Rollouts v1.7, and is the form to teach for formulas; credentials come from the datadog Secret in the argo-rollouts namespace by default.
The notes saidPrometheus provider address http://prometheus:9090
CorrectedAddress form is fine. The provider also supports timeout (seconds), headers, and authentication blocks: sigv4 for Amazon Managed Service for Prometheus (with IRSA on the controller), google for Google Managed Prometheus, and basic auth.
The notes saidMetric limit fields listed
CorrectedCurrent limit fields: failureLimit (default 0; -1 disables), consecutiveSuccessLimit (since v1.8; default 0 means disabled), inconclusiveLimit (default 0) and consecutiveErrorLimit (default 4). At least one of failureLimit or consecutiveSuccessLimit must be applicable.
Sourceargoproj.github.io/argo-rollouts/features/analysis#consecutivesuccesslimit-and-failurelimit
The notes said'The result is available as result[0] (for scalar) or result (for vector)'
CorrectedReversed. Instant-vector results arrive as an array and are read as result[0] (or with all()/any() for range queries); a scalar result is read as result.
The notes saidExperiment example uses valueFrom.podTemplateHashValue: baseline/canary
CorrectedpodTemplateHashValue accepts only Stable or Latest. Experiment template hashes are passed as value: '{{templates.baseline.podTemplateHash}}' and '{{templates.canary.podTemplateHash}}', and each experiment analyses entry needs a name.
The notes said'Total analysis duration: 1 minute delay + 5 minutes of measurement'
CorrectedWith initialDelay 1m, count 10 and interval 30s, the first measurement is at 1m and the last at 1m + 9 x 30s = 5.5 minutes.
The notes saidExperiments compare versions with 'same traffic patterns to both versions'
CorrectedExperiment ReplicaSets receive traffic only if a Service selects them or the experiment step sets weights with canary trafficRouting; otherwise they may get none, so traffic is not controlled automatically.
The notes saidService endpoint availability measures whether the Kubernetes Service has healthy endpoints.
CorrectedMeasure ready endpoints through EndpointSlices (discovery.k8s.io/v1, stable since 1.21; list by label kubernetes.io/service-name, use endpoints[].conditions.ready/serving). The core v1 Endpoints API is deprecated as of Kubernetes 1.33 (API server warns on use), truncates at 1000 endpoints, and lacks dual-stack and traffic-distribution data.
The notes saidPrometheus with Alertmanager is the common SLI stack; Istio provides proxy-level metrics.
CorrectedPrometheus/Alertmanager remains common. Istio's metrics depend on data-plane mode: sidecar mode emits L4+L7 standard metrics from each Envoy; ambient mode (GA in Istio 1.24) emits only L4 TCP metrics from ztunnel (reporter="source") and needs a waypoint proxy for HTTP/L7 metrics (reporter="waypoint"). Dashboards filtering on reporter=destination/source sidecar semantics need updating for ambient.
The notes saidLatency SLI uses 'multiple thresholds - 50th, 95th, 99th percentile'.
CorrectedPercentiles are distribution statistics, not thresholds. A latency SLI is the proportion of requests faster than a threshold (for example 'share of requests under 400 ms'); multiple SLO targets pair a threshold with a target proportion (90% < 100 ms, 99% < 400 ms). Percentiles are a way to observe the distribution and choose thresholds; counting slow requests directly is preferred over approximating from histograms.
The notes saidLaunchDarkly LDClient('sdk-key') with a user dict
CorrectedSDK 8 introduced contexts, and SDK 9 removed users. Use ldclient.set_config(Config(key)), ldclient.get() and Context.create(…). The SDK is at 9.21.0.
Sourcelaunchdarkly.com/docs/sdk/server-side/python/migration-8-to-9
The notes saidArgo Rollouts argoproj.io/v1alpha1 (1.8.x)
CorrectedThe API is still v1alpha1, and the release is v1.10.2.
Sourcegithub.com/argoproj/argo-rollouts/releases/tag/v1.10.2
The notes saidFlagger flagger.app/v1beta1 with built-in metrics
CorrectedThe API is still v1beta1, and the release is v1.45.0. The provider list was not re-verified.
The notes saidInline analysis omits a required arg
CorrectedTemplate args without a value are required, so the AnalysisRun fails.
Sourceargo-rollouts.readthedocs.io/en/stable/features/analysis
The notes saidMetric interval: 1m without count
CorrectedWithout count, the metric runs indefinitely and the analysis step never completes. Set count and failureLimit.
Sourceargo-rollouts.readthedocs.io/en/stable/features/analysis
The notes saidSaturation PromQL as written
CorrectedUse rate(container_cpu_usage_seconds_total[5m]) divided by container_spec_cpu_quota/container_spec_cpu_period.
Sourcegithub.com/google/cadvisor/blob/master/docs/storage/prometheus.md
The notes saidsetWeight gives a precise traffic percentage
CorrectedWithout trafficRouting, setWeight is a best-effort replica ratio: 10% of 10 replicas is 1 pod.
Sourceargo-rollouts.readthedocs.io/en/stable/features/canary
Every correction across the guide, by note and topic.
Sources
Checked against kubernetes.io and AWS documentation for Kubernetes 1.37 on .
- kubernetes.io/docs/concepts/workloads/controllers/deployment
- kubernetes.io/docs/concepts/services-networking/service
- argoproj.github.io/argo-rollouts
- argoproj.github.io/argo-rollouts/features/canary
- argoproj.github.io/argo-rollouts/features/bluegreen
- argoproj.github.io/argo-rollouts/features/analysis
- argoproj.github.io/argo-rollouts/features/traffic-management
- argoproj.github.io/argo-rollouts/features/traffic-management/alb
- argoproj.github.io/argo-rollouts/analysis/prometheus
- argoproj.github.io/argo-rollouts/analysis/cloudwatch
- argoproj.github.io/argo-rollouts/migrating
- rollouts-plugin-trafficrouter-gatewayapi.readthedocs.io/en/latest/quick-start
- gateway-api.sigs.k8s.io/api-types/httproute
- sre.google/workbook/implementing-slos
- openfeature.dev/docs/reference/intro
Progressive delivery
↓ ↑ step, 1 to 7 scene, Esc leave