kubernetes/pkg/controller
Jordan Liggitt 30eb6683e6 Avoid marking virtual nodes as observed when they haven't been
Virtual nodes can be added to the GC graph in order to represent objects
which have not been observed via an informer, but are referenced via ownerReferences.

These virtual nodes are requeued into attemptToDelete until they are observed via an informer,
or successfully verified absent via a live lookup. Previously, both of those code paths
called markObserved() to stop requeuing into attemptToDelete.

Because it is useful to know whether a particular node has been observed via
a real informer event, this commit does the following:

* adds a `virtual bool` attribute to graph events so we know which ones came from a real informer
* limits the markObserved() call to the code path where a real informer event is observed
* uses an alternative mechanism to stop requeueing into attemptToDelete when a virtual node is verified absent via a live lookup
2020-11-17 10:42:48 -05:00
..
apis/config Merge pull request #96399 from andrewsykim/service-config 2020-11-12 11:21:57 -08:00
bootstrap Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
certificates abort if namespace doesn't exist or terminating 2020-11-05 11:12:15 -08:00
clusterroleaggregation Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
cronjob update bazel 2020-11-11 19:47:11 -05:00
daemon Merge pull request #89482 from renatoviana12/master 2020-10-05 20:00:19 -07:00
deployment Merge pull request #89482 from renatoviana12/master 2020-10-05 20:00:19 -07:00
disruption Fixed percentage behavior in instr 2020-09-30 21:23:05 +01:00
endpoint Graduating AppProtocol to GA 2020-11-09 11:08:19 -08:00
endpointslice Updates related to PR feedback 2020-11-12 12:30:50 -08:00
endpointslicemirroring Updating EndpointSlice controllers to support NodeName field 2020-11-11 16:50:36 -08:00
garbagecollector Avoid marking virtual nodes as observed when they haven't been 2020-11-17 10:42:48 -05:00
history automated refactor 2020-03-05 14:59:46 -08:00
job Number of failed jobs should exceed the backoff limit and not big equal. 2020-08-11 11:06:09 +03:00
namespace Fix namespace controller cleanup orphaning 2020-08-07 13:26:28 -04:00
nodeipam Add providerless tags 2020-07-30 13:48:40 -04:00
nodelifecycle Use topology labels instead of old beta names (#96033) 2020-11-05 20:26:50 -08:00
podautoscaler Fix static checks for pkg/controller/podautoscaler 2020-10-23 18:53:07 +00:00
podgc code clean for podgc 2020-07-04 23:01:16 +08:00
replicaset test: ensure WaitForCacheSync is called after starting sharedInformerFacotry 2020-09-15 16:02:35 +08:00
replication Run update-bazel.sh 2020-06-22 10:49:15 +09:00
resourcequota Move informer_factory to staging 2020-10-29 12:20:33 -07:00
serviceaccount Move client_builder to k8s.io/controller-manager 2020-10-19 14:48:22 -07:00
statefulset Remove redundant variable 2020-10-16 09:53:34 +09:00
storageversiongc fixup! add storage version garbage collector 2020-11-12 16:34:27 -08:00
testutil Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
ttl Lint ttl_controller 2020-09-28 14:22:37 +02:00
ttlafterfinished Replace StartLogging(klog.Infof) with StartStructuredLogging(0) 2020-06-15 17:48:35 +09:00
util endpointslice controller: set new conditions 'accepting' and 'terminating' 2020-11-05 19:18:45 -05:00
volume plumb service account token down to csi driver 2020-11-12 09:26:43 -08:00
BUILD generated 2020-11-12 16:25:22 -08:00
client_builder_dynamic.go Move client_builder to k8s.io/controller-manager 2020-10-19 14:48:22 -07:00
controller_ref_manager_test.go remove unused code of (pkg/controller) 2018-10-09 08:15:30 +08:00
controller_ref_manager.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
controller_utils_test.go Do not swallow NotFound error for DeletePod in dsc.manage 2020-06-04 16:41:38 +08:00
controller_utils.go Migrate to log calls to klog.InfoS and klog.ErroS for pkg/controller 2020-06-05 13:23:01 +08:00
doc.go
lookup_cache.go
OWNERS Adding cheftako to pkg/controller/OWNERS 2020-07-09 16:10:59 -07:00