Files
Guy Yankovitch c705e82833 Fix PDB controller to enqueue all affected budgets on pod changes (#143111)
* Fix PDB controller to enqueue all affected budgets on pod changes

Wake previously matching PDBs when pod labels change, and enqueue every
overlapping PDB so status stays correct instead of picking one arbitrarily.

* PDB: warn on multiple budgets only for the current pod

Skip the MultiplePodDisruptionBudgets warning for old labels on update,
and list matching PDB names in the event message.

* PDB: extract multi-budget warning from getPdbsForPod

Move the MultiplePodDisruptionBudgets event out of the lookup helper,
compare pod labels with reflect.DeepEqual, and quote matching PDB names
in the warning message.

* PDB: use controller.KeyFunc for updatePod sync map keys

Match enqueuePdb and use namespace/name keys when deduping PDBs to sync
on pod label updates.
2026-10-27 19:41:46 +00:00
..