Skip to content

Commit

Permalink
chore: re-add memory limits for k8s deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Feb 6, 2025
1 parent ffb6848 commit 6427593
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helm/cas-bciers/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ backend:
deployRoute: true

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 256Mi
Expand All @@ -33,6 +35,8 @@ administrationFrontend:
environment: dev

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -50,6 +54,8 @@ registrationFrontend:
environment: dev

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -65,6 +71,8 @@ reportingFrontend:
path: "/reporting"

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -82,6 +90,8 @@ complianceFrontend:
environment: dev

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -97,6 +107,8 @@ dashboardFrontend:
path: "/"

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand Down
12 changes: 12 additions & 0 deletions helm/cas-bciers/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ backend:
environment: test

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 256Mi
Expand All @@ -28,6 +30,8 @@ administrationFrontend:
environment: test

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -45,6 +49,8 @@ registrationFrontend:
environment: test

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -62,6 +68,8 @@ reportingFrontend:
environment: test

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -79,6 +87,8 @@ complianceFrontend:
environment: test

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand All @@ -100,6 +110,8 @@ dashboardFrontend:
siteminderAuthUrl: https://logontest7.gov.bc.ca

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand Down
12 changes: 12 additions & 0 deletions helm/cas-bciers/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ backend:
host: ~

resources:
limits:
memory: 256Mi
requests:
cpu: 60m
memory: 128Mi
Expand Down Expand Up @@ -58,6 +60,8 @@ registrationFrontend:
path: ~

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 128Mi
Expand Down Expand Up @@ -89,6 +93,8 @@ reportingFrontend:
path: ~

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 128Mi
Expand Down Expand Up @@ -120,6 +126,8 @@ administrationFrontend:
path: ~

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 256Mi
Expand Down Expand Up @@ -151,6 +159,8 @@ complianceFrontend:
path: ~

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 256Mi
Expand Down Expand Up @@ -181,6 +191,8 @@ dashboardFrontend:
path: ~

resources:
limits:
memory: 512Mi
requests:
cpu: 60m
memory: 256Mi
Expand Down

0 comments on commit 6427593

Please sign in to comment.