Skip to content

Commit

Permalink
fix(#3): increase max mem to handle up to 7k regs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpy-Squirrel committed Jan 21, 2024
1 parent 1f7078b commit 447d019
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/eurofurence-registration-system/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: eurofurence-registration-system
version: 0.0.21
version: 0.0.22
description: A helm chart that can deploy the Eurofurence Registration System.
type: application
home: https://github.com/eurofurence/reg-helm-chart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"component" .Values.system.components.regsys_classic
"secrets" (list "REG_SECRET_API_TOKEN" "REG_SECRET_NOSECOUNTER_TOKEN" "REG_SECRET_DD_TOKEN" "REG_SECRET_ARTSHOW_TOKEN" "REG_SECRET_BOAT_TOKEN" "REG_SECRET_SECU_TOKEN" "REG_SECRET_SECU_SECRET")
"command" "/usr/bin/java"
"args" (list "-Xmx176m" "-jar" "/app/regsys-classic.jar") -}}
"args" (list "-Xmx256m" "-jar" "/app/regsys-classic.jar") -}}
{{- template "helpers.deployment" $classicInput }}
---
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -155,7 +155,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -229,7 +229,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -302,7 +302,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -381,7 +381,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -465,7 +465,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -539,15 +539,15 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
command: [/usr/bin/java]
args:
- -Xmx176m
- -Xmx256m
- -jar
- /app/regsys-classic.jar
env:
Expand Down Expand Up @@ -638,7 +638,7 @@ tests:
timeoutSeconds: 1
resources:
limits:
memory: 256Mi
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down

0 comments on commit 447d019

Please sign in to comment.