operator pattern?
: A specialized controller used to manage a custom resource. It lets you extend the cluster's behavior w/o modifying k8s code by linking controllers to one or more custom resources.
- publishing a Service to applications that don't support Kubernetes APIs to discover them
How it works?
Custom Resource
is running.Controller
queries thecontrol plane
to find out whatCustom Resource
is configured.An
Operator
tells the API server, how to align the current state with the desired state.
Terms
Control loop
Custom resource
-
Control plane
: Formerly called Master Node
Top comments (0)