Hi All, I have configured the alert to monitor the sql pod running in OCP cluster. If the POD runs more than 30 mins have to send the alert. But the alert is triggering within 10 mins.
groups:
- name: sql-alerts
rules:- alert: sql_pod_critical
expr: pod > 1
for: 30m
annotations:
summary: ‘The SQL POD is running more than 30 mins’
description: ‘The SQL POD is running more than 30 mins’
labels:
severity: “critical”
env: PROD
- alert: sql_pod_critical