apiVersion: monitoring.openshift.io/v1
kind: AlertingRule
metadata:
name: example
namespace: openshift-monitoring (1)
spec:
groups:
- name: example-rules
rules:
- alert: ExampleAlert (2)
for: 1m (3)
expr: vector(1) (4)
labels:
severity: warning (5)
annotations:
message: This is an example alert. (6)