Integration with controller-runtime

Wiring the Object Reconciler into a controller-runtime operator

While the Object Reconciler is the low-level engine, the pkg/component package integrates it into the controller-runtime world. A generic Reconciler[T] drives a custom resource type — the component — renders its dependent manifests through a generator, and delegates the actual cluster synchronization to the Object Reconciler.

Topics

  • Components — the Component interface and the optional configuration interfaces a component (or its spec) may implement.
  • Generators — the Generator interface, the built-in generators, and the generate context.
  • Reconciler — the Reconciler[T] implementation, its hooks, and the additional status fields it maintains.

Components

The Component interface and related configuration interfaces

Generators

The Generator interface, built-in generators, and how to transform them

Reconciler

The Reconciler[T] implementation, its options, hooks, and processing cycles