Skip to content

Commit

Permalink
adding a backoff limit and job history limit to monitor cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseCastle23 committed Jul 19, 2024
1 parent 63ecfc9 commit 7bf383e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kube/services/node-monitors/argo-monitors/argo-node-age.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ metadata:
namespace: default
spec:
schedule: "*/5 * * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 4
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions kube/services/node-monitors/fenceshib-jenkins-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ metadata:
namespace: default
spec:
schedule: "0 */4 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 4
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions kube/services/node-monitors/node-not-ready.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ metadata:
namespace: default
spec:
schedule: "*/30 * * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 4
template:
metadata:
labels:
Expand Down

0 comments on commit 7bf383e

Please sign in to comment.