Created
January 25, 2019 05:25
-
-
Save wzhliang/ff5466b1e435b0ba5fa3b391021623ce to your computer and use it in GitHub Desktop.
prometheus alert configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
- name: etcd | |
rules: | |
- alert: NoLeader | |
expr: etcd_server_has_leader{job="kube-etcd"} == 0 | |
for: 1m | |
labels: | |
severity: critical | |
k8s-component: etcd | |
annotations: | |
description: etcd member {{ $labels.instance }} has no leader | |
summary: etcd member has no leader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment