kubernetes/pkg/controller
Jordan Liggitt cae56bea0a Replace virtual node with observed node if identity differs
If the graph contains a virtual node (because some child object referenced it in an OwnerRef),
and a real informer event is observed for that uid at different coordinates,
we want to fix the coordinates of the node in the graph to match the actual coordinates.

The safe way to do this is to clone the node, replace the identity in the clone,
then replace the node with the clone.

Modifying the identity directly is not safe because it is accessed lock-free from many code paths.

Replacing the node in the graph from processGraphChanges is safe because it is the only graph writer.
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 Replace virtual node with observed node if identity differs 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