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

correct metadata identation of "Example cross-project alerting rule" .

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False

      correct metadata identation of "Example cross-project alerting rule" . 

      https://docs.openshift.com/container-platform/4.18/observability/monitoring/managing-alerts/managing-alerts-as-a-developer.html#:~:text=Example%20cross%2Dproject%20alerting%20rule

       

      Current : 

      apiVersion: monitoring.coreos.com/v1
      kind: PrometheusRule
      metadata:
        name: example-security
      namespace: ns1 
      spec:

      Correct configuration should be:

      apiVersion: monitoring.coreos.com/v1
      kind: PrometheusRule
      metadata:
        name: example-security
        namespace: ns1        <------- correct identation
      spec:

       

              nikijain@redhat.com Nikita Jain (Inactive)
              nikijain@redhat.com Nikita Jain (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: