Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-1813

CVO: Populate risks from alerts in clusterversion.status.conditionalUpdateRisks

XMLWordPrintable

    • None
    • None
    • None

      DoD:

      • For every alert from a given set, if it is in firing status, there is an element in “status.conditionalUpdateRisks”.
      • An update is accepted if and only if all of its risks, including the ones converted from a firing alerts, are accepted, i.e., in clusterversion.spec.desiredUpdate.acceptRisks.

      Implementation ideas:

      name: ClusterOperatorDown # name of the alert    
      message: alert.Annotations.Summary    
      url: https://hostname/monitoring/alertrules/2881187465 # the link to the alert detail page    
      matchingRules: # the expression of the alert rule    
      conditions:    
      - status: True      
        type: Apply      
        reason: Alert:firing      
        message: critical alert ClusterOperatorDown firing … # the details in oc-cli      
        lastTransitionTime: alert.ActiveAt 

      If more than one firing alert matching the name, we aggregate their details into conditions[0].message and use the oldest ActiveAt as lastTransitionTime.

              Unassigned Unassigned
              hongkliu Hongkai Liu
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: