Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
contour: Add alert for envoy pod down
Browse files Browse the repository at this point in the history
When pods spawned by envoy daemonset are unavailable for more than a
minute then an alert is triggered.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Mar 19, 2020
1 parent f904cb4 commit fc11bcf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/components/contour/manifests-metrics/04-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ spec:
annotations:
description: '{{ $labels.instance }}: Contour pod is not available for last one minute.'
summary: '{{ $labels.instance }}: Contour deployment pods.'
- name: envoy-rules
rules:
- alert: EnvoyPodsAvailability
expr: kube_daemonset_status_number_unavailable{daemonset="envoy",namespace="projectcontour"} != 0
for: 1m
annotations:
description: '{{ $labels.instance }}: Envoy pod is not available for last one minute.'
summary: '{{ $labels.instance }}: Envoy deployment pods.'
Loading

0 comments on commit fc11bcf

Please sign in to comment.