Skip to content

Instantly share code, notes, and snippets.

@wzhliang wzhliang/001.txt
Created Jan 25, 2019

Embed
What would you like to do?
prometheus alert configuration
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
You can’t perform that action at this time.