---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  annotations:
    networkoperator.openshift.io/ignore-errors: ""
  creationTimestamp: "2022-03-08T10:38:08Z"
  generation: 1
  labels:
    prometheus: k8s
    role: alert-rules
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:networkoperator.openshift.io/ignore-errors: {}
        f:labels:
          .: {}
          f:prometheus: {}
          f:role: {}
        f:ownerReferences: {}
      f:spec:
        .: {}
        f:groups: {}
    manager: cluster-network-operator
    operation: Update
    time: "2022-03-08T10:38:08Z"
  name: prometheus-k8s-rules
  namespace: openshift-multus
  ownerReferences:
  - apiVersion: operator.openshift.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: Network
    name: cluster
    uid: b48e3238-e625-4cc0-acf5-5166b34864a9
  resourceVersion: "4894"
  selfLink: /apis/monitoring.coreos.com/v1/namespaces/openshift-multus/prometheusrules/prometheus-k8s-rules
  uid: 09ba60cc-1d02-4718-912e-98ee4bf09244
spec:
  groups:
  - name: multus-admission-controller-monitor-service.rules
    rules:
    - expr: |
        max  (network_attachment_definition_enabled_instance_up) by (networks)
      record: cluster:network_attachment_definition_enabled_instance_up:max
    - expr: |
        max  (network_attachment_definition_instances) by (networks)
      record: cluster:network_attachment_definition_instances:max
