kubernetes/pkg/controller/deployment/util
Michail Kargakis af0f5dcc88
Fix deployment timeout reporting
If the previous condition has been a successful rollout then we
shouldn't try to estimate any progress. Scenario:

* progressDeadlineSeconds is smaller than the difference between
  now and the time the last rollout finished in the past.
* the creation of a new ReplicaSet triggers a resync of the
  Deployment prior to the cached copy of the Deployment getting
  updated with the status.condition that indicates the creation
   of the new ReplicaSet.

The Deployment will be resynced and eventually its Progressing
condition will catch up with the state of the world.

Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-09-08 17:48:46 +02:00
..
BUILD controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
deployment_util_test.go Fix deployment timeout reporting 2017-09-08 17:48:46 +02:00
deployment_util.go Fix deployment timeout reporting 2017-09-08 17:48:46 +02:00
hash_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
pod_util.go controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
replicaset_util.go controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00