Skip to content

Commit fad59b6

Browse files
authored
Merge pull request #795 from k8up-io/chart-job-stuck
Remove K8upJobStuck alert
2 parents 847cc39 + c702b82 commit fad59b6

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

charts/k8up/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- backup
77
- operator
88
- restic
9-
version: 4.0.1
9+
version: 4.0.2
1010
sources:
1111
- https://github.com/k8up-io/k8up
1212
maintainers:

charts/k8up/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# k8up
22

3-
![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square)
3+
![Version: 4.0.2](https://img.shields.io/badge/Version-4.0.2-informational?style=flat-square)
44

55
Kubernetes and OpenShift Backup Operator based on restic
66

@@ -13,7 +13,7 @@ helm repo add k8up-io https://k8up-io.github.io/k8up
1313
helm install k8up k8up-io/k8up
1414
```
1515
```bash
16-
kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.0.1/k8up-crd.yaml
16+
kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.0.2/k8up-crd.yaml
1717
```
1818

1919
<!---

charts/k8up/templates/prometheus/prometheusrule.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ spec:
3131
annotations:
3232
summary: "No K8up jobs were run in {{ "{{ $labels.namespace }}" }} within the last 24 hours. Check the operator, there might be a deadlock"
3333
runbook_url: https://k8up.io/k8up/explanations/runbooks/K8upBackupNotRunning.html
34-
- alert: K8upJobStuck
35-
expr: k8up_jobs_queued_gauge{jobType="backup"} > 0 and on(namespace) k8up_schedules_gauge > 0
36-
for: 24h
37-
labels:
38-
severity: critical
39-
annotations:
40-
summary: "K8up jobs are stuck in {{ "{{ $labels.namespace }}" }} for the last 24 hours."
41-
runbook_url: https://k8up.io/k8up/explanations/runbooks/K8upJobStuck.html
4234
{{- range .Values.metrics.prometheusRule.jobFailedRulesFor }}
4335
- alert: K8up{{- . | title -}}Failed
4436
expr: (sum(kube_job_status_failed) by(job_name, namespace) * on(job_name, namespace) group_right() kube_job_labels{label_k8up_syn_tools_type="{{- . -}}"}) > 0

config/samples/prometheus/rules.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,3 @@ groups:
2323
severity: critical
2424
annotations:
2525
summary: "No K8up jobs were run in {{ $labels.namespace }} within the last 24 hours. Check the operator, there might be a deadlock"
26-
- alert: K8upJobStuck
27-
expr: k8up_jobs_queued_gauge{jobType="backup"} > 0 and on(namespace) k8up_schedules_gauge > 0
28-
for: 24h
29-
labels:
30-
severity: critical
31-
annotations:
32-
summary: "K8up jobs are stuck in {{ $labels.namespace }} for the last 24 hours."

0 commit comments

Comments
 (0)