fix: invalid rules
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: volsync-target
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
description: Volsync Replication set to target specific PVC with preconfigured settings
|
||||
keywords:
|
||||
- volsync-target
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# volsync-target
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Volsync Replication set to target specific PVC with preconfigured settings
|
||||
|
||||
|
||||
@@ -17,12 +17,9 @@ spec:
|
||||
rules:
|
||||
- alert: VolSyncBackupPodFailed
|
||||
expr: |
|
||||
kube_pod_container_status_last_terminated_exit_code > 0
|
||||
(kube_pod_container_status_last_terminated_exitcode > 0)
|
||||
* on(pod, namespace) group_left(owner_name)
|
||||
label_replace(
|
||||
kube_pod_owner{owner_kind="Job"},
|
||||
"owner_name", "$1", "owner_name", "(.*)"
|
||||
)
|
||||
kube_pod_owner{owner_kind="Job", owner_name=~"volsync-.*"}
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
|
||||
Reference in New Issue
Block a user