CI/CD, GitOps & Delivery
Desired state
GitOps tools compare a desired declaration with live state, then reconcile according to configured sync policy. Drift correction and pruning deleted Git objects are separate operations.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- 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
- 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.
- Deploy strategies: rolling, blue-green and canaryIntermediate · 6 min
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.
- 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.
- Application CRDBeginner · 4 min
Application CRD declares Git source destination and sync policy.