Audio CourseHistory & Politics

Mastering Progressive Delivery: Harness, Kubernetes, and Canary Phases

This course teaches how to implement progressive deployments using Harness Phases, Canary, and Primary workloads on Kubernetes. Lecture 1 explains why standard Kubernetes RollingUpdate is insufficient for high-scale systems and introduces the Canary as a small test deployment and the Primary as the stable version, with Harness Phases controlling each step. Lecture 2 details the Canary Phase mechanics: Harness creates a temporary Canary Deployment labeled track: canary, a dedicated Canary Service that routes a small traffic slice via selectors, while the Primary Service continues serving users on track: stable pods. Lecture 3 shows that Kubernetes readiness probes only confirm a port is open; Harness Verification instead pulls Prometheus or New Relic metrics, compares Canary error rates and latency against the Primary baseline, and stops the pipeline if thresholds are exceeded. Lecture 4 contrasts Canary with Blue-Green: Canary uses less infrastructure and limits blast radius to 1-25 % of traffic, but requires backward-compatible APIs and database schemas. Lecture 5 covers the Promotion Phase, where Harness updates the Primary Deployment image tag, waits for the stable pods to become healthy, then deletes the Canary workload and service. Lecture 6 explains automated rollback: on failure Harness shifts traffic back to the untouched Primary, removes the Canary, and requires additive schema changes plus proper SIGTERM handling in Go to avoid data corruption.

The Progressive Delivery Mindset: Beyond Rolling Updates

0:00
4:56
Was this episode page helpful?
YesNoSign in to share
Share detailed feedback