Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-1725

More Transparent statement about how the label namespacesWithoutLabelEnforcement works in UWM

XMLWordPrintable

      As per the doc In the example for enabling Cross namespace alert for UWM.

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: user-workload-monitoring-config
        namespace: openshift-user-workload-monitoring
      data:
        config.yaml: |
          namespacesWithoutLabelEnforcement: [ <namespace> ] 
          # ...

      The below statement need to be a little more clear

      Current statement

      Specify one or more projects in which you want to create cross-project alerting rules. Prometheus and Thanos Ruler for user-defined monitoring do not enforce the namespace label in PrometheusRule objects created in these projects.

      Updated statement

      Specify one or more projects in which you want to create cross-project alerting rules. Prometheus and Thanos Ruler for user-defined monitoring do not enforce the namespace label in PrometheusRule objects created in these projects.This means any prometheusrules created under the namespace mentioned in the label will be applicable to all the projects.

              eromanov@redhat.com Eliska Romanova
              rhn-support-ssonigra Sonigra Saurab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: