Is there any way we can run pod based on the alert fired from Prometheus ,
we have a scenario where we need to execute a pod based on the disk
pressure threshold. I am able to create alert , but I need to execute a pod
.How can I achieve that
groups:
- name: node_memory_MemAvailable_percent
rules:
- alert: node_memory_MemAvailable_percent_alert
annotations:
description: Memory on node {{ $labels.instance }} currently
at {{ $value }}%
is under pressure
summary: Memory usage is under pressure, system may become unstable.
expr: |
100 - ((node_memory_MemAvailable_bytes{job="node-exporter"} *
100) / node_memory_MemTotal_bytes{job="node-exporter"}) > 80 for:
2m
labels:
severity: warning
Thanks
Rajendar
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/CA%2Bwj9bazjJ8SS_WOBLUdcxxFmiz%3DnB9g7donk%3DKkG6E60ZQndA%40mail.gmail.com.