Skip to content

Commit

Permalink
lower cpu requests (#4085)
Browse files Browse the repository at this point in the history
* lower cpu requests

* clean up preview request / limits that aren't applied

* clean up preview request / limits that aren't applied
  • Loading branch information
linusnorton authored Oct 24, 2024
1 parent add06db commit 0333989
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 29 deletions.
16 changes: 5 additions & 11 deletions charts/sscs-tribunals-api/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ tags:

java:
image: ${IMAGE_NAME}
memoryLimits: "8Gi"
memoryRequests: "1Gi"
cpuRequests: "2"
ingressHost: ${SERVICE_FQDN}
cpuLimits: 2000m
readinessDelay: 45
devmemoryRequests: 1Gi
devmemoryLimits: 2Gi
Expand Down Expand Up @@ -130,10 +126,10 @@ ccd-case-document-am-api:
xui-webapp:
enabled: true
nodejs:
devmemoryLimits: "1Gi"
devcpuLimits: 1
devmemoryRequests: "512Mi"
devcpuRequests: "500m"
devmemoryLimits: "1Gi"
devcpuRequests: "200m"
devcpuLimits: "1000m"
imagePullPolicy: Always
releaseNameOverride: ${SERVICE_NAME}-xui-webapp
image: hmctspublic.azurecr.io/xui/webapp:latest
Expand Down Expand Up @@ -443,7 +439,7 @@ ccd:
disableKeyVaults: true
devmemoryRequests: '1024Mi'
devmemoryLimits: '2048Mi'
devcpuRequests: '900m'
devcpuRequests: '500m'
autoscaling:
enabled: false
minReplicas: 1
Expand Down Expand Up @@ -472,7 +468,7 @@ ccd:
imagePullPolicy: Always
devmemoryRequests: '1524Mi'
devmemoryLimits: '2048Mi'
devcpuRequests: '900m'
devcpuRequests: '500m'
environment:
DATA_STORE_DB_HOST: '{{ tpl .Values.global.postgresHostname $}}'
DATA_STORE_DB_USERNAME: hmcts
Expand Down Expand Up @@ -537,8 +533,6 @@ elastic:
sscs-tribunals-frontend:
enabled: true
nodejs:
memoryLimits: "2Gi"
cpuLimits: 2000m
image: hmctspublic.azurecr.io/sscs/tribunals-frontend:latest
ingressHost: sya-${SERVICE_FQDN}
registerAdditionalDns:
Expand Down
26 changes: 8 additions & 18 deletions charts/sscs-tribunals-api/values.wa.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ tags:
sscs-ccd-idam-pr: true

java:
memoryRequests: 2Gi
cpuRequests: 2000m
memoryLimits: 8Gi
cpuLimits: 3500m
devmemoryRequests: 6Gi
devcpuRequests: 2000m
devmemoryLimits: 8Gi
devcpuLimits: 4500m
devmemoryRequests: 1Gi
devmemoryLimits: 4Gi
devcpuRequests: 500m
devcpuLimits: 2000m
image: ${IMAGE_NAME}
readinessDelay: 45
environment:
Expand Down Expand Up @@ -103,14 +99,10 @@ ccd-case-document-am-api:
xui-webapp:
enabled: true
nodejs:
memoryRequests: 2Gi
cpuRequests: 2000m
memoryLimits: 4Gi
cpuLimits: 3500m
devmemoryRequests: 6Gi
devcpuRequests: 2000m
devmemoryLimits: 8Gi
devcpuLimits: 4500m
devmemoryRequests: "512Mi"
devmemoryLimits: "1Gi"
devcpuRequests: "200m"
devcpuLimits: "1000m"
imagePullPolicy: Always
releaseNameOverride: ${SERVICE_NAME}-xui-webapp
image: hmctspublic.azurecr.io/xui/webapp:latest
Expand Down Expand Up @@ -706,8 +698,6 @@ sscs-evidence-share:
sscs-tribunals-frontend:
enabled: true
nodejs:
memoryLimits: "2Gi"
cpuLimits: 2000m
image: hmctspublic.azurecr.io/sscs/tribunals-frontend:latest
ingressHost: sya-${SERVICE_FQDN}
environment:
Expand Down

0 comments on commit 0333989

Please sign in to comment.