Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10361

migrate to using Lease for leader election

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 4.13.0
    • kube-apiserver
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      library-go should use Lease for leader election by default. 
      In 4.10 we switched from configmaps to configmapsleases, now we can switch to leases
      
      change library-go to use lease by default, we already have an open pr for that: https://github.com/openshift/library-go/pull/1448 
      
      once the pr merges, we should revendor library-go for:
      - kas operator
      - oas operator
      - etcd operator
      - kcm operator
      - openshift controller manager operator
      - scheduler operator
      - auth operator
      - cluster policy controller
       

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akashem@redhat.com Abu H Kashem
              Ke Wang Ke Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: