• Kubernetes Submit Queue's avatar
    Merge pull request #33387 from timothysc/resource_lock_abstraction · 901e3e30
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Abstraction of endpoints in leaderelection code
    
    **Problem Statement**:
    Currently the Leader Election code is hard coded against the endpoints api.  This causes performance issues on large scale clusters due to incessant iptables refreshes, see: https://github.com/kubernetes/kubernetes/issues/26637 
    
    The goal of this PR is to: 
    
    - Abstract Endpoints out of the leader election code
    - Fix a known bug in the event recording 
    
    fixes #18386
    
    **Special notes for your reviewer**:
    This is a 1st pass at abstracting the details of endpoints out into an interface.  Any suggestions around how we we want to refactor this interface is welcome and could be addressed in either this PR or follow on PR. 
    
    /cc @ncdc @wojtek-t @rrati
    901e3e30
Name
Last commit
Last update
..
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-discovery Loading commit data...
kube-dns Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
kubernetes-discovery Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
OWNERS Loading commit data...