From c86d444ca4f1b143c55cad7514a6948776365b86 Mon Sep 17 00:00:00 2001 From: Sarah Roberts Date: Fri, 8 Mar 2024 12:15:46 -0700 Subject: [PATCH] DD-17: added resource requests and limits --- k8s/de-database.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/k8s/de-database.yml b/k8s/de-database.yml index 6e3b1edc..b5a3d1f5 100644 --- a/k8s/de-database.yml +++ b/k8s/de-database.yml @@ -3,7 +3,7 @@ kind: Job metadata: name: de-database spec: - ttlSecondsAfterFinished: 259200 + ttlSecondsAfterFinished: 259200 template: metadata: name: de-database @@ -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: