forked from k-space/kube
kube-system: Remove noisy KubernetesJobSlowCompletion alert
This commit is contained in:
parent
ae00e766d7
commit
fc92b0ce75
@ -430,14 +430,6 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
summary: Kubernetes DaemonSet misscheduled (instance {{ $labels.instance }})
|
summary: Kubernetes DaemonSet misscheduled (instance {{ $labels.instance }})
|
||||||
description: "Some DaemonSet Pods are running where they are not supposed to run\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Some DaemonSet Pods are running where they are not supposed to run\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
- alert: KubernetesJobSlowCompletion
|
|
||||||
expr: kube_job_spec_completions - kube_job_status_succeeded > 0
|
|
||||||
for: 12h
|
|
||||||
labels:
|
|
||||||
severity: critical
|
|
||||||
annotations:
|
|
||||||
summary: Kubernetes job slow completion (instance {{ $labels.instance }})
|
|
||||||
description: "Kubernetes Job {{ $labels.namespace }}/{{ $labels.job_name }} did not complete in time.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
|
||||||
- alert: KubernetesApiServerErrors
|
- alert: KubernetesApiServerErrors
|
||||||
expr: sum(rate(apiserver_request_total{job="apiserver",code=~"^(?:5..)$"}[1m])) / sum(rate(apiserver_request_total{job="apiserver"}[1m])) * 100 > 3
|
expr: sum(rate(apiserver_request_total{job="apiserver",code=~"^(?:5..)$"}[1m])) / sum(rate(apiserver_request_total{job="apiserver"}[1m])) * 100 > 3
|
||||||
for: 2m
|
for: 2m
|
||||||
|
Loading…
Reference in New Issue
Block a user