tezvyn:

CRDs and the Operator pattern

Source: interviewadvanced

WHAT IT TESTS: extending Kubernetes declaratively. OUTLINE: CRDs add new API object types, an Operator pairs a CRD with a controller that runs a reconciliation loop encoding domain operational knowledge.

WHAT IT TESTS: whether you understand how Kubernetes is extended using its own primitives. ANSWER OUTLINE: a CRD registers a new custom resource type with the apiserver, so you can create objects of your own kind that are stored and served like native ones, but a CRD alone is inert data. An Operator pairs that CRD with a custom controller that watches those resources and runs a reconciliation loop, encoding human operational knowledge to manage complex stateful apps like databases.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

CRDs and the Operator pattern · Tezvyn