Update kubestate-exporter.yml

Use proper label for KubernetesJobFailed
This commit is contained in:
Pavel Timofeev 2023-06-21 15:21:42 -06:00 committed by GitHub
parent ac09fd8a2d
commit a3182dfcf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ groups:
severity: warning severity: warning
annotations: annotations:
summary: Kubernetes Job failed (instance {{ $labels.instance }}) summary: Kubernetes Job failed (instance {{ $labels.instance }})
description: "Job {{ $labels.namespace }}/{{ $labels.exported_job }} failed to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" description: "Job {{ $labels.namespace }}/{{ $labels.job_name }} failed to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: KubernetesCronjobSuspended - alert: KubernetesCronjobSuspended
expr: 'kube_cronjob_spec_suspend != 0' expr: 'kube_cronjob_spec_suspend != 0'