mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-11-06 05:17:08 +00:00
* 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.