kubernetes/pkg/controller
Kubernetes Submit Queue 0d9685b0b5 Merge pull request #32805 from caesarxuchao/more-gc-optimization
Automatic merge from submit-queue

Add the uid in a delete event to the absentOwnerCache

This is a small optimization to further reduce the traffic sent by the GC.

In #31167, GC caches the non-existent owners when it processes the dirtyQueue. As discovered in #32571, there is still small inefficiency, because there are multiple goroutines processing the dirtyQueue, many of them might send a GET to the apiserver before the cache gets populated.

This PR populates the cache when GC observes an object gets deleted, which happens before the processing of the dirtyQueue, so it avoids the simultaneous GET sent by the GC workers.

cc @lavalamp
2016-09-16 00:40:24 -07:00
..
certificates move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
daemon move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
deployment move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
disruption move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
endpoint move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
garbagecollector Merge pull request #32805 from caesarxuchao/more-gc-optimization 2016-09-16 00:40:24 -07:00
informers move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
job move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
namespace move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
node move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
petset move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
podautoscaler move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
podgc move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
replicaset move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
replication move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
resourcequota move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
route move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
scheduledjob Merge pull request #32462 from smarterclayton/sj_logs 2016-09-12 04:39:53 -07:00
service move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
serviceaccount move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
volume move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
controller_ref_manager.go fix tests; convert IsPodActive to operate on *Pod 2016-08-17 13:05:37 -07:00
controller_utils.go move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
controller_utils_test.go fix tests; convert IsPodActive to operate on *Pod 2016-08-17 13:05:37 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00