kubernetes/pkg/controller/daemon
Clayton Coleman 18f43e4120
daemonset: Implement MaxSurge on daemonset update
If MaxSurge is set, the controller will attempt to double up nodes
up to the allowed limit with a new pod, and then when the most recent
(by hash) pod is ready, trigger deletion on the old pod. If the old
pod goes unready before the new pod is ready, the old pod is immediately
deleted. If an old pod goes unready before a new pod is placed on that
node, a new pod is immediately added for that node even past the MaxSurge
limit.

The backoff clock is used consistently throughout the daemonset controller
as an injectable clock for the purposes of testing.
2021-03-01 13:21:12 -05:00
..
config hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
util daemonset: Implement MaxSurge on daemonset update 2021-03-01 13:21:12 -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: Implement MaxSurge on daemonset update 2021-03-01 13:21:12 -05:00
update.go daemonset: Implement MaxSurge on daemonset update 2021-03-01 13:21:12 -05:00