• Michail Kargakis's avatar
    Fix deployment timeout reporting · af0f5dcc
    Michail Kargakis authored
    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: 's avatarMichail Kargakis <mkargaki@redhat.com>
    af0f5dcc
Name
Last commit
Last update
..
bootstrap Loading commit data...
certificates Loading commit data...
cloud Loading commit data...
cronjob Loading commit data...
daemon Loading commit data...
deployment Loading commit data...
disruption Loading commit data...
endpoint Loading commit data...
garbagecollector Loading commit data...
history Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
podautoscaler Loading commit data...
podgc Loading commit data...
replicaset Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
statefulset Loading commit data...
testutil Loading commit data...
ttl Loading commit data...
volume Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
client_builder.go Loading commit data...
controller_ref_manager.go Loading commit data...
controller_ref_manager_test.go Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...
lookup_cache.go Loading commit data...