Platform Engineering
Kubernetes operators
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.
What you will be able to do
- Explain how a custom resource and a controller form an operator.
- Decide where a change belongs when an operator manages the object.
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
- Self service provisioningIntermediate · 4 min
Self-service provisioning lets teams create infrastructure from approved templates without filing tickets. The platform sets the rules through constraints, access…
- Multi tenancy boundariesIntermediate · 4 min
Multi-tenancy is a set of boundaries across access, the API, nodes and the network. A namespace covers only the naming and policy layer, so the other boundaries need…
- 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…
- Controller reconciliationIntermediate · 4 min
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.
- 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…