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...
A Hands-On Guide to Kubernetes Canary and Blue-Green Deployments with Argo CD, Istio, and Prometheus
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
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.
This book is written for:
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.
By the end of the book, you'll be able to:
setCanaryScale with traffic-based canary deployments.workloadRef during migration.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.
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.
Chapter 1 — Introducing Argo Rollouts
Start with the problem Argo Rollouts solves. You'll see where Kubernetes RollingUpdate stops and where progressive delivery begins.
Chapter 2 — Understanding Argo Rollouts Resources and Lifecycle
Learn how the controller works and how a Rollout differs from a Kubernetes Deployment.
Chapter 3 — Building Your Argo Rollouts Lab
Build a complete local environment and connect Argo Rollouts to GitOps.
Chapter 4 — Deploying Your First Canary Release
Create your first progressive release and control it step by step.
Chapter 5 — Traffic-Based Canary Deployments with Argo Rollouts and Istio
Move from replica-based canaries to real traffic splitting with Istio.
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.
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.
Chapter 8 — Horizontal Pod Autoscaling with Canary Deployments
Explore a subtle Kubernetes problem that appears when HPA interacts with replica-based canary deployments.
setCanaryScaleChapter 9 — Blue-Green Deployments with Argo Rollouts
Build blue-green releases with separate active and preview Services.
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.
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.
workloadRefChapter 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.
Bundles that include this book
About the Author
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.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
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
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
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.