k3s/pkg/controller
Kubernetes Submit Queue cfdaf18277 Merge pull request #34298 from derekwaynecarr/ns-controller-panic
Automatic merge from submit-queue

Fix potential panic in namespace controller when rapidly create/delet…

Fixes https://github.com/kubernetes/kubernetes/issues/33676

The theory is this could occur in either of the following scenarios:

1. HA environment where a GET to a different API server than what the WATCH was read from
1. In a many controller scenario (i.e. where multiple finalizers participate), a namespace that is created and deleted with the same name could trip up the other namespace controller to see a namespace with the same name that was not actually in a delete state.  Added checks to verify uid matches across retry operations.

/cc @liggitt @kubernetes/rh-cluster-infra
2016-10-26 23:15:00 -07:00
..
certificates autogenerated 2016-10-21 17:32:32 -07:00
daemon autogenerated 2016-10-21 17:32:32 -07:00
deployment remove unnecessary import rename 2016-10-26 17:32:44 -07:00
disruption autogenerated 2016-10-21 17:32:32 -07:00
endpoint autogenerated 2016-10-21 17:32:32 -07:00
garbagecollector autogenerated 2016-10-21 17:32:32 -07:00
informers autogenerated 2016-10-21 17:32:32 -07:00
job autogenerated 2016-10-21 17:32:32 -07:00
namespace Fix potential panic in namespace controller when rapidly create/delete namespace of same name 2016-10-25 13:51:27 -04:00
node autogenerated 2016-10-21 17:32:32 -07:00
petset autogenerated 2016-10-21 17:32:32 -07:00
podautoscaler autogenerated 2016-10-21 17:32:32 -07:00
podgc autogenerated 2016-10-21 17:32:32 -07:00
replicaset autogenerated 2016-10-21 17:32:32 -07:00
replication autogenerated 2016-10-21 17:32:32 -07:00
resourcequota autogenerated 2016-10-21 17:32:32 -07:00
route autogenerated 2016-10-21 17:32:32 -07:00
scheduledjob autogenerated 2016-10-21 17:32:32 -07:00
service autogenerated 2016-10-21 17:32:32 -07:00
serviceaccount autogenerated 2016-10-21 17:32:32 -07:00
volume Merge pull request #34368 from jingxu97/Oct/statusupdate-10-7 2016-10-26 11:09:16 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD autogenerated 2016-10-21 17:32:32 -07:00
OWNERS
client_builder.go use service accounts as clients for controllers 2016-10-05 13:15:16 -04:00
controller_ref_manager.go fix tests; convert IsPodActive to operate on *Pod 2016-08-17 13:05:37 -07:00
controller_utils.go Fix typos 2016-10-15 00:21:00 +03:00
controller_utils_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
doc.go
lookup_cache.go