Commit Graph

57 Commits

Author SHA1 Message Date
Brendan Burns
83cbd0cf4c Add recovery for anonymous rollouts. 2015-04-29 16:53:30 -07:00
Brendan Burns
591d98b6b2 Add replication controller renaming as a cleanup option. 2015-04-27 20:38:20 -07:00
Dan Mace
093b7c2e25 Add cleanup policy to RollingUpdater
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.

* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.

* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00
Dan Mace
bd7b719944 Make default impls private 2015-04-15 16:50:08 -04:00
Dan Mace
312ccad3c1 Use narrowly scoped interfaces for client access
Use custom narrowly scoped interfaces for client access from the
RollingUpdater and Resizer. This allows for more flexible downstream
integration and unit testing without imposing a burden to implement
the entire client.Interface for just a handful of methods.
2015-04-15 14:28:59 -04:00
Quinton Hoole
40e2eae5b4 Retry replication controller rolling updates on version mismatch.
When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)
2015-04-02 17:53:34 -07:00
Jeff Lowdermlk
0ab39df66b Add a rollingupdate lib and command to kubectl
Also decouple conditions from client for testability.
2015-01-06 17:29:05 -08:00