Skip to content

Commit 46b4747

Browse files
weltekialexellis
authored andcommitted
Add guidance for new nats configuration values.
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 2ae758c commit 46b4747

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chart/openfaas/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,16 @@ alertmanager:
238238
memory: "50Mi"
239239

240240
stan:
241+
# Image used for nats deployment when using async with NATS-Streaming.
241242
image: nats-streaming:0.22.0
242243

243244
# NATS is required for async
244245
nats:
245246
channel: "faas-request"
246247
queueMode: ""
248+
# Stream replication is set to 1 by default. This is only recommended for development.
249+
# For production a value of at least 3 is recommended for NATS JetStream to be resilient.
250+
# See https://github.com/openfaas/openfaas-pro/blob/master/jetstream.md
247251
streamReplication: 1
248252
external:
249253
clusterName: ""

0 commit comments

Comments
 (0)