Skip to content

Commit

Permalink
Merge pull request #23 from slr71/main
Browse files Browse the repository at this point in the history
DD-17: added resource requests and limits
  • Loading branch information
slr71 authored Mar 8, 2024
2 parents cdd09fd + c86d444 commit d5d74e1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion k8s/de-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Job
metadata:
name: de-database
spec:
ttlSecondsAfterFinished: 259200
ttlSecondsAfterFinished: 259200
template:
metadata:
name: de-database
Expand All @@ -13,6 +13,15 @@ spec:
- name: update-de-db
image: harbor.cyverse.org/de/de-database
imagePullPolicy: Always
resources:
requests:
cpu: "250m"
memory: "245Mi"
ephemeral-storage: "1Gi"
limits:
cpu: "500m"
memory: "512Mi"
ephemeral-storage: "1Gi"
env:
- name: DE_DATABASE_URI
valueFrom:
Expand Down

0 comments on commit d5d74e1

Please sign in to comment.