Skip to content

Commit

Permalink
Merge pull request #41 from openfga/make-memory-configurable
Browse files Browse the repository at this point in the history
feat: make memory configurable
  • Loading branch information
miparnisari authored Jun 7, 2023
2 parents fc47ad1 + c3eccce commit 3413894
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/benchmark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: benchmark
description: A Kubernetes Helm chart to deploy OpenFGA and run the standard benchmark suite against it.

type: application
version: 0.0.11
version: 0.0.12
appVersion: "v1.0.1"

home: "https://openfga.github.io/helm-charts/charts/benchmark"
Expand Down
4 changes: 2 additions & 2 deletions charts/benchmark/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ spec:
image: grafana/k6:0.43.1
resources:
requests:
memory: "256Mi"
memory: {{ .Values.resources.requests.memory }}
limits:
memory: "512Mi"
memory: {{ .Values.resources.limits.memory }}
{{- if .Values.k6.projectID }}
args: ["run", "--out", "cloud", "/etc/scripts/app.bundle.js"]
{{ else }}
Expand Down
6 changes: 5 additions & 1 deletion charts/benchmark/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ k6:
secretKeyName: k6-cloud-token
secretKeyToken: token
setupTimeoutInMs: 1200000

resources:
requests:
memory: 256Mi
limits:
memory: 512Mi
Nparam: 1
Mparam: 1
Kparam: 1
Expand Down

0 comments on commit 3413894

Please sign in to comment.