CI/CD, GitOps & Delivery
Deploy strategies: rolling, blue-green and canary
Every deploy replaces v1 with v2 while users are watching. The strategy decides how many of them see a bad v2, and how fast you can take it back.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in CI/CD, GitOps & Delivery
- GitHub Actions: workflows, jobs and runnersIntermediate · 5 min
A pipeline is a YAML file in your repository. Learn five words (workflow, event, job, step, runner) and you can read any of them, including the one that just failed.
- Pipeline stages, artifacts and cachingIntermediate · 5 min
An 18 minute pipeline usually spends 12 of them redoing work it did last time. Order the stages, cache the inputs, and pass the artifact on instead of rebuilding it.
- Desired stateBeginner · 4 min
GitOps tools compare a desired declaration with live state, then reconcile according to configured sync policy. Drift correction and pruning deleted Git objects are…
- Sync statusBeginner · 4 min
Sync status shows live versus desired state differences.
- Self healBeginner · 4 min
Self heal corrects live drift from Git.
- PruneBeginner · 4 min
Prune deletes tracked resources absent from desired state.