Skip to content

Commit

Permalink
increase memory limits for lexbox api, 1gb for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Aug 26, 2024
1 parent 578963e commit be49586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions deployment/base/lexbox-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ spec:
runAsNonRoot: true
containers:
- name: lexbox-api
# TODO: need to parameterize this tag
image: ghcr.io/sillsdev/lexbox-api:develop
imagePullPolicy: IfNotPresent
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers
resources:
requests: # TODO: need to establish resource limits, possibly after seeing it in action for some regular and/or load testing
memory: 200Mi
requests:
memory: 300Mi
limits:
memory: 250Mi
memory: 350Mi
startupProbe:
httpGet:
port: 5158
Expand Down
4 changes: 2 additions & 2 deletions deployment/production/lexbox-deployment.patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ spec:
- name: lexbox-api
resources:
requests:
memory: 450Mi # based on usage
memory: 1Gi # based on usage
limits:
memory: 450Mi
memory: 1Gi
env:
- name: Email__SmtpHost
value: email-smtp.us-east-1.amazonaws.com
Expand Down

0 comments on commit be49586

Please sign in to comment.