Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-1930

Platform prometheus operator should reconcile AlertmanagerConfig resources from user namespaces

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CMO
    • False
    • False
    • NEW
    • OBSDA-3 - Allow non-admin users to configure individual notification settings
    • NEW
    • Monitoring - Sprint 213

      We want UWM users to be able to leverage the Alertmanager running in the openshift-monitoring namespace. They configure their alert routing and notification settings by deploying AlertmanagerConfig resources in their namespace(s).

      The prometheus operator running in openshift-monitoring reconciles the user-defined AlertmanagerConfig resources and updates the Alertmanager configuration accordingly.

      From https://github.com/openshift/enhancements/pull/937, the CMO configmap should be extended:

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: cluster-monitoring-config
        namespace: openshift-monitoring
      data:
        config.yaml: |-
          enableUserWorkload: true
          alertmanagerMain:
            enableUserAlertmanagerConfig: true
      

      DoD

      • AlertmanagerConfig resources from user namespaces (without the “openshift.io/cluster-monitoring: true” and “openshift.io/user-monitoring: false” labels) are reconciled in the Alertmanager configuration.

              pgough@redhat.com Philip Gough
              spasquie@redhat.com Simon Pasquier
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: