forked from k-space/kube
		
	prometheus-operator: Remove useless KubernetesCronjobTooLong alert
This commit is contained in:
		| @@ -438,14 +438,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: KubernetesCronjobTooLong |  | ||||||
|           expr: time() - kube_cronjob_next_schedule_time > 3600 |  | ||||||
|           for: 0m |  | ||||||
|           labels: |  | ||||||
|             severity: warning |  | ||||||
|           annotations: |  | ||||||
|             summary: Kubernetes CronJob too long (instance {{ $labels.instance }}) |  | ||||||
|             description: "CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is taking more than 1h to complete.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}" |  | ||||||
|         - alert: KubernetesJobSlowCompletion |         - alert: KubernetesJobSlowCompletion | ||||||
|           expr: kube_job_spec_completions - kube_job_status_succeeded > 0 |           expr: kube_job_spec_completions - kube_job_status_succeeded > 0 | ||||||
|           for: 12h |           for: 12h | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user