[blocky] add template to rules (#1188)

This commit is contained in:
j_r0dd 2021-09-12 19:48:38 -04:00 committed by GitHub
parent e1494a5b59
commit 34842b9fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.15
description: DNS proxy as ad-blocker for local network
name: blocky
version: 9.0.0
version: 9.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- blocky

View File

@ -1,6 +1,6 @@
# blocky
![Version: 9.0.0](https://img.shields.io/badge/Version-9.0.0-informational?style=flat-square) ![AppVersion: v0.15](https://img.shields.io/badge/AppVersion-v0.15-informational?style=flat-square)
![Version: 9.0.1](https://img.shields.io/badge/Version-9.0.1-informational?style=flat-square) ![AppVersion: v0.15](https://img.shields.io/badge/AppVersion-v0.15-informational?style=flat-square)
DNS proxy as ad-blocker for local network

View File

@ -10,14 +10,14 @@ metadata:
{{- end }}
spec:
groups:
- name: blocky
- name: {{ include "common.names.fullname" . }}
rules:
- alert: BlockyAbsent
annotations:
description: Blocky has disappeared from Prometheus service discovery.
summary: Blocky is down.
expr: |
absent(up{job=~".*blocky.*"} == 1)
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
for: 5m
labels:
severity: critical