actually track and notify based on the eviction data collected
@@ -107,6 +107,12 @@ g_template_openshift_master:
applications:
- Openshift Cluster
+ - key: openshift.master.cluster.event.evicted
+ description: "Count of Evicted events reported"
+ value_type: int
+ applications:
+ - Openshift Master
+
- name: openshift.master.app.create
applications:
- Openshift Master
@@ -905,6 +911,10 @@ g_template_openshift_master:
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/stuck_build_alerts.asciidoc"
priority: info
+ - name: "Mass Eviction on {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.master.cluster.event.evicted.delta(60)}>25"
+ priority: high
+
# Put triggers that depend on other triggers here (deps must be created first)
- name: "Application creation has failed on {HOST.NAME}"
expression: "{Template Openshift Master:openshift.master.app.create.last(#1)}=1 and {Template Openshift Master:openshift.master.app.create.last(#2)}=1"
