Uploaded image for project: 'OpenShift Image Registry'
  1. OpenShift Image Registry
  2. IR-491

Research: alert configuration

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 5
    • False
    • None
    • False

      How to appropriately configure the read-only storage alert? Below is an example alert. What are the correct values for the properties? Specially "for".
      How can we make sure the alert remains "on" until the error clears up? Is keeping the alert "on" always dependent on whether new values show up in the metric or not?

      apiVersion: monitoring.openshift.io/v1
      kind: AlertingRule
      metadata:
        name: image-registry-storage-readonly
        namespace: openshift-monitoring
      spec:
        groups:
        - name: image-registry-rules
          rules:
          - alert: ReadOnlyStorageAlert
            for: 1m
            expr: imageregistry_storage_errors_total {code="READ_ONLY_FILESYSTEM"}
            labels:
              severity: critical
            annotations:
              message: The image registry storage is read-only - no images will be committed to storage.
      

       

      Resources:

      https://github.com/openshift/enhancements/blob/7d163511f45e73e707f8ec17f34a446772b2cff6/enhancements/monitoring/alerting-consistency.md

              fmissi Flavian Missi
              fmissi Flavian Missi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: