Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-4844

CRO - setup leader election

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • RHOAM Sprint 32

      WHAT
      CRO seems to be missing the leader election (not sure for how long that is the case)

      We need to ensure that the leader election is set in order to avoid possible upgrade issues.

      More info in doc: https://docs.openshift.com/container-platform/4.6/operators/operator_sdk/osdk-leader-election.html

      HOW
      AFAIK it's a matter of configuring the deployment args via config; This is how it's done in RHOAM: https://github.com/integr8ly/integreatly-operator/blob/master/config/manager/manager.yaml#L25

      We need to add same to: https://github.com/integr8ly/cloud-resource-operator/blob/master/config/manager/manager.yaml#L17

      TESTS

      • install via olm or locally and confirm that operator attempts to establish leader election

      DONE
      CRO uses a leader election mechanism.

              mstoklus_rhmi Michal Stokluska
              mstoklus_rhmi Michal Stokluska
              Adam Cattermole Adam Cattermole
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: