Kubernetes

How Operator works?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

It uses the control loop used by Kubernetes in general. It watches for changes in the application state. The difference is that is uses a custom control loop.

In addition, it also makes use of CRD's (Custom Resources Definitions) so basically it extends Kubernetes API.