finalizer
A marker on an object that makes Kubernetes wait, after a delete request, until a controller has finished cleanup and removed the marker.
In more detail
It lets a controller release external resources, such as a cloud disk, before the object disappears. If the controller is broken, the object stays stuck in Terminating. Removing a finalizer by hand skips that cleanup.
Related terms
- owner reference — A field in an object's metadata naming the object that owns it, such as the ReplicaSet that owns a pod.
- operator pattern — Packaging operational knowledge as a custom resource plus a controller that reconciles it, so software manages itself on Kubernetes.
Taught in
- A Tiny CRD, Controller And The Operator Pattern — Kubernetes: Production-Grade Container Orchestration