Skip to content

Commit

Permalink
assets,pkg/manifests: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Oct 19, 2020
1 parent af9b099 commit cc45fd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/prometheus-k8s/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ spec:
annotations:
message: Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is restarting {{ printf "%.2f" $value }} times / 5 minutes.
expr: |
rate(kube_pod_container_status_restarts_total{namespace=~"(openshift-.*|kube-.*|default|logging)",job="kube-state-metrics"}[15m]) * 60 * 5 > 0
rate(kube_pod_container_status_restarts_total{namespace=~"(openshift-.*|kube-.*|default|logging)",job="kube-state-metrics"}[5m]) * 60 * 5 > 0
for: 15m
labels:
severity: warning
Expand Down

0 comments on commit cc45fd6

Please sign in to comment.