![]() Deployments get cleaned up only when they are paused, they get scaled up/down, or when the strategy that drives rollouts completes. This means that stuck deployments that fall into none of the above categories will not get cleaned up. Since cleanup is already safe by itself (we only delete old replica sets that are synced by the replica set controller and have no replicas) we can execute it for every deployment when there is no intention to rollback. |
||
---|---|---|
.. | ||
util | ||
BUILD | ||
deployment_controller_test.go | ||
deployment_controller.go | ||
OWNERS | ||
progress.go | ||
recreate_test.go | ||
recreate.go | ||
rollback.go | ||
rolling_test.go | ||
rolling.go | ||
sync_test.go | ||
sync.go |