• Kubernetes Submit Queue's avatar
    Merge pull request #34298 from derekwaynecarr/ns-controller-panic · cfdaf182
    Kubernetes Submit Queue authored
    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
    cfdaf182
Name
Last commit
Last update
..
certificates Loading commit data...
daemon Loading commit data...
deployment Loading commit data...
disruption Loading commit data...
endpoint Loading commit data...
garbagecollector Loading commit data...
informers Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
petset Loading commit data...
podautoscaler Loading commit data...
podgc Loading commit data...
replicaset Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
scheduledjob Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
volume Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
client_builder.go Loading commit data...
controller_ref_manager.go Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...
lookup_cache.go Loading commit data...