From 3d3227ad245e70ff607ccaab696186c052f2063d Mon Sep 17 00:00:00 2001 From: Conor Brady Date: Tue, 5 Nov 2024 15:37:30 -0800 Subject: [PATCH] Drop high CPU limits (#4060) --- openshift/templates/c_haines.cronjob.yaml | 4 ++-- openshift/templates/prune_hourlies_cronjob.yaml | 4 ++-- openshift/templates/viirs_snow.cronjob.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openshift/templates/c_haines.cronjob.yaml b/openshift/templates/c_haines.cronjob.yaml index 3a2743f4e..d7cd4f3b8 100644 --- a/openshift/templates/c_haines.cronjob.yaml +++ b/openshift/templates/c_haines.cronjob.yaml @@ -63,10 +63,10 @@ objects: - name: ${JOB_NAME} resources: limits: - cpu: "0.5" + cpu: "250m" memory: 2Gi requests: - cpu: "0.5" + cpu: "75m" memory: 1Gi image: ${IMAGE_REGISTRY}/${PROJ_TOOLS}/${IMAGE_NAME}:${IMAGE_TAG} imagePullPolicy: "Always" diff --git a/openshift/templates/prune_hourlies_cronjob.yaml b/openshift/templates/prune_hourlies_cronjob.yaml index 18f8e34e9..cee089ac3 100644 --- a/openshift/templates/prune_hourlies_cronjob.yaml +++ b/openshift/templates/prune_hourlies_cronjob.yaml @@ -79,9 +79,9 @@ objects: value: ${SUFFIX} resources: limits: - cpu: "1" + cpu: "250m" memory: 1024Mi requests: - cpu: "500m" + cpu: "75m" memory: 512Mi restartPolicy: OnFailure diff --git a/openshift/templates/viirs_snow.cronjob.yaml b/openshift/templates/viirs_snow.cronjob.yaml index fea5fbec8..b77a50ca7 100644 --- a/openshift/templates/viirs_snow.cronjob.yaml +++ b/openshift/templates/viirs_snow.cronjob.yaml @@ -144,9 +144,9 @@ objects: key: object-store-bucket resources: limits: - cpu: "2" + cpu: "250m" memory: 2048Mi requests: - cpu: "500m" + cpu: "75m" memory: 512Mi restartPolicy: OnFailure