Skip to content
Opsfolk

Extending Kubernetes, topic 60 of 61

Controllers and operators

A controller is a loop that watches some objects, compares their spec with the world and acts to close the gap, over and over. Every built-in workload resource works this way.

An operator is a controller with a custom resource for one piece of software, such as a database, that does what its operator would by hand: install, upgrade, back up, fail over. Write one in Go with kubebuilder or controller-runtime, and make each reconcile safe to run again.

On Opsfolk

Elsewhere

Your progress