k3s/pkg/controller
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
..
bootstrap controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
certificates controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
cloud Merge pull request #44680 from rrati/pvl-controller 2017-08-31 23:13:23 -07:00
cronjob Enable batch/v1beta1.CronJobs by default 2017-09-03 11:17:33 +02:00
daemon remove OutOfDisk from controllers 2017-09-04 17:35:55 -07:00
deployment Fix deployment timeout reporting 2017-09-08 17:48:46 +02:00
disruption controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
endpoint controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
garbagecollector Disable default paging in list watches 2017-09-06 23:10:59 -04:00
history Adds the rand.SafeEncodeString function and uses this function to 2017-08-30 14:01:11 -07:00
job Improve how JobController use queue for backoff 2017-09-07 17:14:47 +02:00
namespace add an starting info log of namespace controller. 2017-08-26 00:25:37 +08:00
node Merge pull request #51603 from hzxuzhonghu/taint-controller-panic 2017-09-06 02:55:09 -07:00
podautoscaler Merge pull request #50708 from DirectXMan12/versions/autoscaling-v2beta1 2017-09-06 15:46:24 -07:00
podgc Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
replicaset Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
replication Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
resourcequota Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
route Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
service controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
serviceaccount Add enj as reviewer to OWNERS 2017-08-17 20:42:46 -04:00
statefulset controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
testutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
ttl controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
volume Fix panic in expand controller when checking PVs 2017-09-06 13:27:10 +02:00
.import-restrictions
BUILD Update generated files - api, bazel, json 2017-09-04 09:02:35 +02:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_utils.go Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
controller_utils_test.go CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
doc.go
lookup_cache.go