concept
Controller reconciliation
Read spec.quantity for the desired count, obtain an independent observation from a mock inventory, and compare it with status.fulfilledQuantity and status.phase. Previously reported status is not a new observation. A missing object is a normal end state for a queued key. A deletion timestamp should divert the controller from ordinary work. The sample has no external assets to clean up and therefore needs no finalizer.
Formal Syntax & Structure
kubernetes syntaxkubernetes
spec.quantity: 3mock observation: 2status.fulfilledQuantity: 1Decision: report 2, PendingWorking Example
Example Snippetkubernetes
spec.quantity: 3mock observation: 2status.fulfilledQuantity: 1Decision: report 2, Pending