diff --git a/backend/openshift.deploy.yml b/backend/openshift.deploy.yml index 441a0b33a..4d46e44d5 100644 --- a/backend/openshift.deploy.yml +++ b/backend/openshift.deploy.yml @@ -35,7 +35,7 @@ parameters: - name: CPU_LIMIT value: 75m - name: MEMORY_REQUEST - value: 50Mi + value: 100Mi - name: MEMORY_LIMIT value: 250Mi - name: MIN_REPLICAS @@ -151,7 +151,7 @@ objects: path: /actuator/health port: 8090 scheme: HTTP - initialDelaySeconds: 150 + initialDelaySeconds: 20 periodSeconds: 15 timeoutSeconds: 10 livenessProbe: @@ -161,7 +161,7 @@ objects: path: /actuator/health port: 8090 scheme: HTTP - initialDelaySeconds: 150 + initialDelaySeconds: 20 periodSeconds: 30 timeoutSeconds: 10 - apiVersion: v1 diff --git a/database/openshift.deploy.yml b/database/openshift.deploy.yml index 2187ff4ce..eb1ca99c5 100644 --- a/database/openshift.deploy.yml +++ b/database/openshift.deploy.yml @@ -23,9 +23,9 @@ parameters: - name: CPU_LIMIT value: 115m - name: MEMORY_REQUEST - value: 25Mi - - name: MEMORY_LIMIT value: 50Mi + - name: MEMORY_LIMIT + value: 100Mi - name: DB_PVC_SIZE description: Volume space available for data, e.g. 512Mi, 2Gi. displayName: Database Volume Capacity @@ -123,8 +123,9 @@ objects: - bash - "-c" - psql -q -U $POSTGRES_USER -d $POSTGRES_DB -c 'SELECT 1' + successThreshold: 1 failureThreshold: 5 - initialDelaySeconds: 30 + initialDelaySeconds: 10 periodSeconds: 15 timeoutSeconds: 1 livenessProbe: @@ -134,8 +135,9 @@ objects: - bash - "-c" - psql -q $POSTGRES_USER -d $POSTGRES_DB -c 'SELECT 1' + successThreshold: 1 failureThreshold: 5 - initialDelaySeconds: 30 + initialDelaySeconds: 10 periodSeconds: 15 timeoutSeconds: 1 env: diff --git a/frontend/openshift.deploy.yml b/frontend/openshift.deploy.yml index 29af7c005..c78c8f1d7 100644 --- a/frontend/openshift.deploy.yml +++ b/frontend/openshift.deploy.yml @@ -18,13 +18,13 @@ parameters: - name: DOMAIN value: apps.silver.devops.gov.bc.ca - name: CPU_REQUEST - value: 5m + value: 15m - name: CPU_LIMIT - value: 10m + value: 30m - name: MEMORY_REQUEST value: 30Mi - name: MEMORY_LIMIT - value: 40Mi + value: 50Mi - name: MIN_REPLICAS description: The minimum amount of replicas for the horizontal pod autoscaler. value: "3" diff --git a/oracle-api/openshift.deploy.yml b/oracle-api/openshift.deploy.yml index 28a5290f0..eae75609b 100644 --- a/oracle-api/openshift.deploy.yml +++ b/oracle-api/openshift.deploy.yml @@ -22,9 +22,9 @@ parameters: - name: CPU_LIMIT value: 175m - name: MEMORY_REQUEST - value: 150Mi - - name: MEMORY_LIMIT value: 300Mi + - name: MEMORY_LIMIT + value: 400Mi - name: REGISTRY description: Container registry to import from (internal is image-registry.openshift-image-registry.svc:5000) value: ghcr.io