diff --git a/openshift/templates/edivorce-environment-template.yaml b/openshift/templates/edivorce-environment-template.yaml index cb9b4cd6..93efb6cd 100644 --- a/openshift/templates/edivorce-environment-template.yaml +++ b/openshift/templates/edivorce-environment-template.yaml @@ -245,6 +245,13 @@ objects: ports: - containerPort: 5001 protocol: TCP + resources: + limits: + cpu: '2' + memory: 1Gi + requests: + cpu: 250m + memory: 512Mi livenessProbe: httpGet: path: /health diff --git a/openshift/templates/nginx-environment-template.yaml b/openshift/templates/nginx-environment-template.yaml index b3edf24c..c197035f 100644 --- a/openshift/templates/nginx-environment-template.yaml +++ b/openshift/templates/nginx-environment-template.yaml @@ -34,7 +34,7 @@ objects: kind: ImageStreamTag namespace: "${APP_IMAGE_NAMESPACE}" name: "${APP_IMAGE_NAME}:deploy-to-${ENVIRONMENT_TYPE}" - replicas: 2 + replicas: 1 test: false selector: app: "${NAME}"