Skip to content

Commit 95c47e3

Browse files
authored
Merge pull request #87 from linuxfoundation/jme/nats-resources
set nats resources per docs
2 parents 664dbb2 + ec7f55c commit 95c47e3

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

charts/lfx-platform/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: lfx-platform
66
description: LFX Platform v2 Helm chart
77
type: application
8-
version: 0.3.12
8+
version: 0.3.13
99
icon: https://github.com/linuxfoundation/lfx-v2-helm/raw/main/img/lfx-logo-color.svg
1010
dependencies:
1111
- name: traefik

charts/lfx-platform/values.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -335,20 +335,26 @@ nats:
335335
natsBox:
336336
enabled: true
337337

338-
resources:
339-
requests:
340-
memory: "256Mi"
341-
cpu: "100m"
342-
limits:
343-
memory: "512Mi"
344-
cpu: "500m"
345-
346338
# JetStream configuration
347339
jetstream:
348340
enabled: true
349341
fileStore:
350342
enabled: true
351343
size: 1Gi
344+
container:
345+
env:
346+
# Different from k8s units, suffix must be B, KiB, MiB, GiB, or TiB
347+
# Should be ~80% of memory limit
348+
GOMEMLIMIT: 6GiB
349+
merge:
350+
# Recommended minimum: at least 2 CPU cores and 8Gi memory for production JetStream clusters
351+
resources:
352+
requests:
353+
cpu: "1000m"
354+
memory: 4Gi
355+
limits:
356+
cpu: "2000m"
357+
memory: 8Gi
352358

353359
# OpenSearch configuration
354360
opensearch:

0 commit comments

Comments
 (0)