Skip to content

Commit ec8a73e

Browse files
wmuldergovray-oxd
authored andcommitted
DBC22-5290: Increase resource values
1 parent 1336142 commit ec8a73e

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

infrastructure/main/charts/django/templates/django-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ spec:
117117
- name: host
118118
value: localhost
119119
initialDelaySeconds: 10
120-
timeoutSeconds: 5
120+
timeoutSeconds: 10
121121
periodSeconds: 10
122122
successThreshold: 1
123123
failureThreshold: 5
@@ -130,7 +130,7 @@ spec:
130130
- name: host
131131
value: localhost
132132
initialDelaySeconds: 60
133-
timeoutSeconds: 5
133+
timeoutSeconds: 10
134134
periodSeconds: 60
135135
successThreshold: 1
136136
failureThreshold: 3

infrastructure/main/values-prod.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ django:
2020
deployment:
2121
resources:
2222
requests:
23-
cpu: 200m
24-
memory: 250Mi
25-
limits:
23+
cpu: 250m
2624
memory: 500Mi
25+
limits:
26+
memory: 1Gi
2727
env:
2828
postgresSecret: prod-drivebc-db-crunchy-pguser-prod-drivebc-db
2929
variables:
@@ -37,7 +37,7 @@ django:
3737
enabled: true
3838
minReplicas: 3
3939
maxReplicas: 5
40-
targetCPUUtilizationPercentage: 200
40+
targetCPUUtilizationPercentage: 150
4141
route:
4242
host: prod-drivebc.apps.gold.devops.gov.bc.ca
4343
iprestricted: false #Set to true if you want to limit IP's that can access publicly available pages to the the addresses in the ipallowlist

infrastructure/main/values-uat.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ django:
2121
resources:
2222
requests:
2323
cpu: 100m
24-
memory: 250Mi
25-
limits:
2624
memory: 500Mi
25+
limits:
26+
memory: 1Gi
2727
env:
2828
postgresSecret: uat-drivebc-db-crunchy-pguser-uat-drivebc-db
2929
variables:
@@ -37,7 +37,7 @@ django:
3737
enabled: true
3838
minReplicas: 3
3939
maxReplicas: 5
40-
targetCPUUtilizationPercentage: 200
40+
targetCPUUtilizationPercentage: 150
4141
route:
4242
host: uat-drivebc.apps.gold.devops.gov.bc.ca
4343
iprestricted: true #Set to true if you want to limit IP's that can access publicly available pages to the the addresses in the ipallowlist

0 commit comments

Comments
 (0)