![]() 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. |
||
---|---|---|
.. | ||
config | ||
util | ||
daemon_controller_test.go | ||
daemon_controller.go | ||
doc.go | ||
init_test.go | ||
OWNERS | ||
update_test.go | ||
update.go |