Skip to content

Commit 8c4a390

Browse files
weltekialexellis
authored andcommitted
Add stream replication to OpenFaaS Pro values
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent ec36671 commit 8c4a390

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

chart/openfaas/values-pro.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,11 @@ queueWorker:
4646
# https://www.openfaas.com/blog/jetstream-for-openfaas/
4747
queueMode: jetstream
4848

49+
# Set stream replication factor.
50+
# For production a value of at least 3 is recommended for NATS JetStream to be resilient.
51+
# See https://github.com/openfaas/openfaas-pro/blob/master/jetstream.md
52+
nats:
53+
streamReplication: 3
54+
4955
# For timeouts longer than 60 seconds see:
5056
# https://docs.openfaas.com/tutorials/expanded-timeouts/

0 commit comments

Comments
 (0)