Canary Deploy
Question
What is a canary deployment?
Hint
Canary limits risk by exposing changes to few users first.
Explanation
Canary deployment gradually rolls out the new version to a small percentage of users (e.g., 5%), monitors for errors, then increases if healthy. Steps: 1) Deploy new version to a small subset. 2) Route a small % of traffic. 3) Monitor metrics (errors, latency). 4) If healthy, increase traffic (10%, 25%, 50%, 100%). 5) If unhealthy, rollback. Benefits: limits blast radius, real user feedback, automated rollback. Tools: Argo Rollouts, Flagger, Istio. Canary is safer than blue-green for detecting issues early but more complex to set up.
Related Resources
Related Lessons
- Deployment
Learn deployment.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.