Platform Engineering
Controller reconciliation
A controller reconciles an object by comparing its spec with the observed state, and repeats that pass, so each action must be safe to run again.
What you will be able to do
- Explain the watch, queue and reconcile steps of a controller.
- Decide how a controller should record external resources so retries stay safe.
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 Platform Engineering
- Kubernetes operatorsIntermediate · 4 min
An operator is a custom resource and a controller that keeps derived objects matching the spec, which is why changes belong on the custom resource.
- CRD versioningIntermediate · 4 min
CRD versioning separates the versions the API serves from the version it stores. Conversion decides how an object moves between versions, so a change to either one can…
- Crossplane compositionsIntermediate · 4 min
A Crossplane Composition turns a platform API request into managed cloud resources through field patches. Most failures sit in those patches, because a provider change…
- Platform APIsAdvanced · 4 min
A platform API is a versioned contract that product teams use to make requests. Its quality depends on describing intent, hiding provider detail and publishing a clear…
- Developer workflow metricsAdvanced · 4 min
DORA workflow metrics pair speed with stability. Each one needs a written definition, such as what counts as a deployment or a failure, before its number means anything…
- Service ownershipAdvanced · 4 min
Service ownership records who answers for a service. A catalog owner reference is useful only when paging routes and cost tags agree with it, and a stale owner shows up…