kubernetes/pkg/controller/daemon
Clayton Coleman 9f296c133d
daemonset: Simplify the logic for calculating unavailable pods
In order to maintain the correct invariants, the existing maxUnavailable
logic calculated the same data several times in different ways. Leverage
the simpler structure from maxSurge and calculate pod availability only
once, as well as perform only a single pass over all the pods in the
daemonset. This changed no behavior of the current controller, and
has a structure that is almost identical to maxSurge.
2021-03-01 13:23:16 -05:00
..
config hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
util daemonset: Simplify the logic for calculating unavailable pods 2021-03-01 13:23:16 -05:00
daemon_controller_test.go daemonset: Implement MaxSurge on daemonset update 2021-03-01 13:21:12 -05:00
daemon_controller.go daemonset: Implement MaxSurge on daemonset update 2021-03-01 13:21:12 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
init_test.go Fix DS expectations on recreate 2020-06-17 09:22:17 +02:00
OWNERS Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers 2019-04-16 11:35:21 -07:00
update_test.go daemonset: Simplify the logic for calculating unavailable pods 2021-03-01 13:23:16 -05:00
update.go daemonset: Simplify the logic for calculating unavailable pods 2021-03-01 13:23:16 -05:00