The operator pattern packages domain-specific operational logic in a controller that reconciles custom resources toward their desired state.
A Kubernetes operator extends Kubernetes when built-in resources cannot express a particular business rule or operational construct. It packages that logic behind a Kubernetes-style API, usually alongside a custom resource definition. section 1.2.2
Use an operator when:
A workload needs domain-specific business logic that Kubernetes does not provide. section 1.2.2
You need a new Kubernetes-style construct rather than ordinary stateless or stateful application deployment. section 1.2.2
How Kubernetes for Developers covers it
How deep it goes
Defines the extensibility role and custom-resource relationship, but does not explain controller implementation or reconciliation mechanics.
Examples
Uses business logic and unsupported constructs as application scenarios for custom Kubernetes APIs.
What you can do after
Evaluate whether custom Kubernetes APIs and operator patterns fit a workload beyond standard stateless or stateful deployment.
How it connects
Connects to custom resource definitions, Kubernetes-style APIs, stateless applications, and stateful applications.
Effective Platform EngineeringThe operator pattern is a software pattern in which a controller automates the management and lifecycle of resources through an API.
Kubernetes in Action, Second EditionA Kubernetes Operator is a controller pattern that automates the management of a specialized application or workload by encoding operational knowledge.
Kafka for ArchitectsA Kubernetes operator is a controller pattern that automates management of an application or service by reconciling its desired and actual state through the Kubernetes API.
Google Anthos in ActionA Kubernetes operator is a controller pattern that automates management of an application or service by reconciling its desired state through the Kubernetes API.
Kubeflow training operatorused by · The Kubeflow Training Operator is a Kubernetes operator that manages distributed and nondistributed machine learning training jobs through custom resources.
Strimziincludes · Strimzi is an open-source Kubernetes operator and set of resources for deploying and managing Apache Kafka clusters and related components.
custom objectuses · A Kubernetes custom object is an API object whose resource type and schema are defined by a custom resource definition or another extension mechanism.
StatefulSetproduces · A StatefulSet is a Kubernetes workload resource that manages stateful Pods with stable identities, ordered operations, and persistent storage associations.
Kubernetes controllerkind of · A Kubernetes controller is a control-loop component that observes resource state and takes action to move actual state toward desired state.
This explainer was generated by Manning's knowledge graph from the text of Kubernetes for Developers. The section links point to the parts of the book it draws on.