kubernetes/pkg/controller/garbagecollector
Jordan Liggitt 221e4aa2c2 Queue non-matching children for deletion when a virtual node is marked as observed
When we observe valid coordinates for a previously virtual node,
if there are dependents that do not agree with those coordinates,
add them to the attemptToDelete queue.

This queue will check the dependent's ownerReferences using the coordinates specified by the dependent.
If all of the owners can be verified absent, the dependent will be deleted.
If some are still present, or if there are errors looking them up, the dependent will not be deleted.

If the verified owner is namespaced, and the dependent is not in the same namespace,
an event will be recorded for user visibility, since cross-namespace ownerReferences are not supported.
2020-11-17 10:49:27 -05:00
..
config Autogenerated code 2019-10-24 20:21:00 +02:00
metaonly generated 2019-05-24 18:14:53 -07:00
BUILD Switch GC absentOwnerCache to full reference 2020-11-17 10:42:48 -05:00
dump_test.go Fixup gonum.org/v1/gonum/graph API calls 2019-04-08 15:20:46 -04:00
dump.go Fix golint errors in pkg/controller/garbagecollector 2020-02-20 04:46:02 +00:00
errors.go Enable garbage collection of custom resources 2017-07-28 10:00:10 -04:00
garbagecollector_test.go Avoid marking virtual nodes as observed when they haven't been 2020-11-17 10:42:48 -05:00
garbagecollector.go Short-circuit attemptToDelete loop for virtual nodes that are removed or observed 2020-11-17 10:46:00 -05:00
graph_builder.go Queue non-matching children for deletion when a virtual node is marked as observed 2020-11-17 10:49:27 -05:00
graph.go Enqueue dependents for deletion when their ownerReference does not match observed parent coordinates 2020-11-17 10:47:39 -05:00
operations.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
OWNERS Merge pull request #72525 from justinsb/owners_should_not_be_executable 2019-02-14 23:55:45 -08:00
patch.go client-go metadata: update callers 2020-03-06 11:07:54 -05:00
uid_cache.go Switch GC absentOwnerCache to full reference 2020-11-17 10:42:48 -05:00