Skip to content

Commit

Permalink
Merge pull request #70 from bcgov/chore/schedule-job-deadline
Browse files Browse the repository at this point in the history
chore: add completion deadline and resource limits
  • Loading branch information
mishraomp authored Oct 1, 2024
2 parents d8f2143 + ee84f6f commit 679f64f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openshift/sris-schedule-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ objects:
failedJobsHistoryLimit: 30
jobTemplate:
spec:
activeDeadlineSeconds: 1800
template:
metadata:
labels:
Expand All @@ -159,8 +160,8 @@ objects:
cpu: "100m"
memory: "2Gi"
limits:
cpu: "1.5"
memory: "4Gi"
cpu: "1.45"
memory: "3.9Gi"
envFrom:
- configMapRef:
name: "${APP_NAME}-configmap"
Expand Down

0 comments on commit 679f64f

Please sign in to comment.