From e0e913a19db55e8a5e2cbf43741b33d8446736a3 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Mon, 11 Jul 2022 13:55:04 +0200 Subject: [PATCH] Added needed resources for calculator-open in deploymentconfig.yaml file --- app-config/openshift/deploymentconfig.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app-config/openshift/deploymentconfig.yaml b/app-config/openshift/deploymentconfig.yaml index 8684012b..67d9e6e5 100644 --- a/app-config/openshift/deploymentconfig.yaml +++ b/app-config/openshift/deploymentconfig.yaml @@ -153,7 +153,7 @@ restartPolicy: Always schedulerName: default-scheduler securityContext: { } - terminationGracePeriodSeconds: 60 + terminationGracePeriodSeconds: 30 strategy: activeDeadlineSeconds: 21600 resources: { } @@ -289,7 +289,13 @@ - containerPort: 8080 protocol: TCP imagePullPolicy: Always - resources: {} + resources: + limits: + cpu: '3' + memory: 3Gi + requests: + cpu: '1' + memory: 1Gi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst