Leanpub Header

Skip to main content

Argo Rollouts: Progressive Delivery for GitOps Practitioners

A Hands-On Guide to Kubernetes Canary and Blue-Green Deployments with Argo CD, Istio, and Prometheus

Argo Rollouts: Progressive Delivery for GitOps Practitioners
This book is 99% completeLast updated on 2026-09-06

Learn Argo Rollouts through hands-on Kubernetes labs. Build canary and blue-green deployments, control traffic with Istio, validate releases with Prometheus, run Experiments, automate promotion and rollback, and manage progressive delivery with Argo CD and GitOps.

Minimum price

$14.90

$19.89

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
About

About

About the Book

Kubernetes' standard RollingUpdate strategy doesn't give you fine-grained control over how a new version reaches users. Argo Rollouts adds progressive delivery, letting you gradually shift traffic, validate releases with real metrics, and automatically promote or roll back deployments.

Argo Rollouts: Progressive Delivery for GitOps Practitioners is a hands-on guide for Kubernetes engineers who want to move beyond basic rolling updates and build safer release workflows with canary deployments, blue-green deployments, automated analysis, traffic splitting, and GitOps.

You'll build the examples yourself using Kubernetes, kind, Helm, Argo CD, Argo Rollouts, Istio, and Prometheus. The book doesn't just show you a successful deployment. You'll also break releases, inspect what happened, trigger failed analysis, recover from aborted rollouts, and see how the controller behaves during real deployment scenarios.

The official Argo Rollouts project describes the controller as a Kubernetes extension for canary, blue-green, analysis, experimentation, traffic management, and automated promotion or rollback. This book takes those capabilities from the documentation and turns them into practical, repeatable labs.

Who Is This Book For?

This book is written for:

  • Software engineers working with Kubernetes
  • DevOps engineers
  • Platform engineers
  • Site reliability engineers
  • Kubernetes practitioners
  • GitOps practitioners using Argo CD
  • Engineers responsible for Kubernetes deployment and release workflows

You should already understand Kubernetes basics, including Deployments, Services, ReplicaSets, Pods, and basic Kubernetes manifests.

You don't need previous Argo Rollouts experience.

You also don't need a large production cluster to follow the examples. The hands-on labs use a local Kubernetes environment with kind, so you can reproduce the workflows on your own machine. The final book specifies Docker, kind, kubectl, Helm, and basic Argo CD and GitOps knowledge as the required foundation.

What Will You Learn?

By the end of the book, you'll be able to:

  • Explain how Argo Rollouts extends the Kubernetes Deployment model.
  • Create and manage Kubernetes canary deployments.
  • Create blue-green deployments with active and preview Services.
  • Control canary traffic with Istio.
  • Use Argo Rollouts with Argo CD and GitOps workflows.
  • Create AnalysisTemplates and understand AnalysisRuns.
  • Validate releases with Prometheus metrics.
  • Automatically abort a release when analysis fails.
  • Use inline and background analysis.
  • Run Rollout Experiments and compare application versions.
  • Understand the interaction between HPA and canary deployments.
  • Use setCanaryScale with traffic-based canary deployments.
  • Configure automated and manual promotion.
  • Test rollback and failure scenarios.
  • Configure rollout notifications with Slack.
  • Migrate existing Kubernetes Deployments to Argo Rollouts.
  • Understand the role of workloadRef during migration.
  • Inspect rollout state and understand how the controller manages ReplicaSets.

The book follows a hands-on progression, so each chapter builds on the Kubernetes environment from the previous chapters instead of treating every example as an isolated demo.

Why This Book?

Many Kubernetes resources explain what Argo Rollouts can do. This book focuses on making you operate it.

You'll also see failure scenarios instead of only seeing perfect deployments. A failed analysis, an aborted rollout, an incorrect validation check, or an unexpected interaction with HPA can teach more than another successful kubectl apply.

By the end, you'll have a working mental model for Argo Rollouts, Kubernetes progressive delivery, canary releases, blue-green deployments, automated analysis, traffic splitting, and GitOps with Argo CD.

What's Inside?

Chapter 1 — Introducing Argo Rollouts

Start with the problem Argo Rollouts solves. You'll see where Kubernetes RollingUpdate stops and where progressive delivery begins.

  • Kubernetes RollingUpdate limitations
  • Gradual releases
  • Deployment risk
  • Progressive delivery fundamentals

Chapter 2 — Understanding Argo Rollouts Resources and Lifecycle

Learn how the controller works and how a Rollout differs from a Kubernetes Deployment.

  • Rollout resources
  • Argo Rollouts controller
  • ReplicaSets
  • Stable and canary versions
  • Rollout lifecycle
  • AnalysisTemplates
  • Experiments
  • Relationships between Rollout resources

Chapter 3 — Building Your Argo Rollouts Lab

Build a complete local environment and connect Argo Rollouts to GitOps.

  • kind
  • Argo CD
  • Argo Rollouts
  • Kubernetes Services
  • Rollout manifests
  • GitOps deployment
  • Verifying rollout state

Chapter 4 — Deploying Your First Canary Release

Create your first progressive release and control it step by step.

  • Canary strategy
  • Canary steps
  • Traffic progression
  • Pauses
  • Promotion
  • Abortion
  • Rollout inspection

Chapter 5 — Traffic-Based Canary Deployments with Argo Rollouts and Istio

Move from replica-based canaries to real traffic splitting with Istio.

  • Istio traffic management
  • Gateway
  • VirtualService
  • DestinationRule
  • Stable and canary subsets
  • Istio installation
  • Argo Rollouts traffic routing
  • Weighted canary traffic

Argo Rollouts supports traffic routing through ingress controllers and service meshes, which lets canary releases use much finer traffic percentages than replica-based routing can provide.

Chapter 6 — Validating Canary Releases with AnalysisTemplates and Prometheus

Make release decisions based on application metrics instead of manual observation.

  • Prometheus
  • Istio metrics
  • AnalysisTemplate
  • AnalysisRun
  • Prometheus queries
  • Success conditions
  • Failure conditions
  • Automatic aborts
  • Inline analysis
  • Background analysis

Chapter 7 — Testing Canary Releases with Rollout Experiments

Use Experiments to run application versions side by side and validate behavior before committing to a release.

  • Rollout Experiments
  • Experiment templates
  • Analysis during Experiments
  • Experiment lifecycle
  • Failed Experiments
  • Experiment vs. AnalysisTemplate

Chapter 8 — Horizontal Pod Autoscaling with Canary Deployments

Explore a subtle Kubernetes problem that appears when HPA interacts with replica-based canary deployments.

  • HPA
  • Replica-based canaries
  • Metrics Server
  • CPU load
  • Canary scaling
  • Istio traffic routing
  • setCanaryScale

Chapter 9 — Blue-Green Deployments with Argo Rollouts

Build blue-green releases with separate active and preview Services.

  • Active Service
  • Preview Service
  • Blue-green rollout lifecycle
  • Manual promotion
  • Pre-promotion analysis
  • Post-promotion analysis
  • Automated validation
  • Failed validation
  • Manual abortion
  • Automatic promotion
  • Rollback behavior

Argo Rollouts uses an active Service for production traffic and can use a preview Service to expose the new ReplicaSet before promotion.

Chapter 10 — Rollout Notifications with Slack

Connect rollout events to Slack so your team can see deployment state changes.

  • Notification architecture
  • Notification scope
  • Namespace-scoped notifications
  • Cluster-scoped notifications
  • Triggers
  • Templates
  • Subscriptions
  • Slack configuration
  • Troubleshooting

Chapter 11 — Migrating Existing Deployments to Argo Rollouts

You don't have to rebuild your applications from scratch.

Learn how to move an existing Kubernetes Deployment toward progressive delivery.

  • Migration strategies
  • workloadRef
  • Direct conversion
  • Argo CD synchronization
  • Canary migration
  • Rollout aborts
  • Retrying rollouts
  • Scaling down the old Deployment
  • StatefulSet limitations

Chapter 12 — Where to Go From Here

Wrap up the core concepts and map out the next steps for using progressive delivery in larger Kubernetes environments.

Bundle

Bundles that include this book

Author

About the Author

Kirshi Yin | Curious Devs Corner

I’m a backend developer with 8+ years of experience in Java, Spring Boot, Linux, and DevOps. I’ve published over 100 technical blog posts on medium.com. I spend my time learning modern technologies and turning that knowledge into clear, practical guides. I dedicate a lot of my time to learning and exploring new technologies. I love to spread knowledge about what I've learned. My goal is to help busy people improve their skills through focused, hands-on learning.

If you enjoy learning about modern technologies, check out my Medium/Substack publication called Curious Devs Corner which I created for curious developers like you.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub