kubernetes/pkg/controller/deployment
Maciej Szulik 5f21c6c709
Eliminate duplicate scale methods deployment controller in favor of a parameter
This initially was attempted in 5f083e3b9f
but it caused e2e failing heavily (see
https://github.com/kubernetes/kubernetes/issues/135222 for more details).
The changes proposed in e6641cd290
clarified the naming of the two existing scale methods but they still
leave both of them as is.

This change goes a step further by combining both into a single method
with a parameter `forceUpdate` which is responsible for driving the mode
of execution between lazy update and a forced update.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-15 13:50:39 +01:00
..
config remove import doc comments 2024-12-02 16:59:34 +01:00
util Avoid no-change lambdas 2025-10-23 09:46:15 +02:00
deployment_controller.go Add pod indexer to deployment controller 2026-01-08 13:55:48 +00:00
deployment_controller_test.go Update benchmark for deployment 2026-01-08 15:10:32 +00:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
progress.go Avoid no-change lambdas 2025-10-23 09:46:15 +02:00
progress_test.go Use the generic/typed workqueue throughout 2024-05-04 14:33:12 -04:00
recreate.go Eliminate duplicate scale methods deployment controller in favor of a parameter 2026-01-15 13:50:39 +01:00
recreate_test.go Use ptr.To to retrieve intstr addresses 2023-09-08 11:10:50 +02:00
rollback.go Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging 2023-07-06 07:39:52 +08:00
rolling.go Eliminate duplicate scale methods deployment controller in favor of a parameter 2026-01-15 13:50:39 +01:00
rolling_test.go Use ptr.To to retrieve intstr addresses 2023-09-08 11:10:50 +02:00
sync.go Eliminate duplicate scale methods deployment controller in favor of a parameter 2026-01-15 13:50:39 +01:00
sync_test.go fix: Truncate too long Deployment name in RS name (#132560) 2025-06-27 16:32:29 -07:00