Skip to content

Commit

Permalink
chore: finetuning chrashloop alert
Browse files Browse the repository at this point in the history
  • Loading branch information
f-stibane committed Jun 16, 2021
1 parent 335aceb commit d3ad347
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
annotations:
message: "Pod {{ "{{ $labels.pod }}" }} is crash looping\n LABELS: {{ "{{ $labels }}" }}"
summary: Kubernetes pod repeatedly restarting
expr: increase(kube_pod_container_status_restarts_total{namespace="{{ .Release.Namespace }}"}[1m]) > 3
expr: increase(kube_pod_container_status_restarts_total{namespace="iris-gateway"}[5m]) > 1
for: 1m
labels:
receiver: iris-alerts-{{ .Values.environment }}
Expand Down

0 comments on commit d3ad347

Please sign in to comment.