Skip to content

Commit

Permalink
Merge pull request #315 from helium/feat/cron-job-logging-updates
Browse files Browse the repository at this point in the history
Updating retention factors for cronjobs for updated logging
  • Loading branch information
deasydoesit authored Feb 8, 2024
2 parents 9fd8fa1 + 7297684 commit e89798b
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ spec:
# Run 30 minutes after the gold table
schedule: "30 3 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
spec:
serviceAccountName: s3-data-lake-bucket-access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ spec:
# Run 30 minutes after the gold table
schedule: "30 3 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
spec:
serviceAccountName: s3-data-lake-bucket-access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ spec:
concurrencyPolicy: Forbid
# Rewards run at 12:30-1am, run this after
schedule: "0 2 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
spec:
serviceAccountName: s3-data-lake-bucket-access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ spec:
concurrencyPolicy: Forbid
# Rewards run at 12:30-1am, run this after
schedule: "0 2 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
spec:
serviceAccountName: s3-data-lake-bucket-access
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/prod/helium/close-governance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 */4 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/prod/helium/end-epoch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 0 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/prod/helium/entity-invalidator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 2 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/sdlc/helium/close-governance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 */4 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/sdlc/helium/end-epoch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 0 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/sdlc/helium/entity-invalidator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 2 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down
5 changes: 3 additions & 2 deletions manifests/web-cluster/sdlc/helium/set-oracle-prices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ metadata:
spec:
schedule: "0 */12 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
Expand Down

0 comments on commit e89798b

Please sign in to comment.