Browse Source

Increased Weasyprint CPU. Decreased NGINX replicas

pull/160/head
Mike Olund 8 years ago
parent
commit
991705681c
2 changed files with 8 additions and 1 deletions
  1. +7
    -0
      openshift/templates/edivorce-environment-template.yaml
  2. +1
    -1
      openshift/templates/nginx-environment-template.yaml

+ 7
- 0
openshift/templates/edivorce-environment-template.yaml View File

@ -245,6 +245,13 @@ objects:
ports: ports:
- containerPort: 5001 - containerPort: 5001
protocol: TCP protocol: TCP
resources:
limits:
cpu: '2'
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /health path: /health


+ 1
- 1
openshift/templates/nginx-environment-template.yaml View File

@ -34,7 +34,7 @@ objects:
kind: ImageStreamTag kind: ImageStreamTag
namespace: "${APP_IMAGE_NAMESPACE}" namespace: "${APP_IMAGE_NAMESPACE}"
name: "${APP_IMAGE_NAME}:deploy-to-${ENVIRONMENT_TYPE}" name: "${APP_IMAGE_NAME}:deploy-to-${ENVIRONMENT_TYPE}"
replicas: 2
replicas: 1
test: false test: false
selector: selector:
app: "${NAME}" app: "${NAME}"


Loading…
Cancel
Save