forked from openfaas/faas-netes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values-pro.yaml
91 lines (75 loc) · 2.91 KB
/
values-pro.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Suggested additional overrides for OpenFaaS Pro users (Standard or for Enterprises)
# in addition to (not instead of) values.yaml
# Initial configuration to set Pro configurations on
openfaasPro: true
# Recommended operating mode for the OpenFaaS controller aka "faas-netes"
# is operator mode, including a CustomResource for functions.
#
# The operator mode is required for GitOps tooling like ArgoCD / Flux v2
# and to export existing functions for backup purposes.
operator:
create: true
# leaderElection is required if gateway.replicas > 1 and makes sure
# that only one instance is running the reconciliation loop to
# convert Function CRDs into Kubernetes resources.
leaderElection:
enabled: true
# For handling large amounts of functions
kubeClientQPS: 100
kubeClientBurst: 250
reconcileQPS: 100
reconcileBurst: 250
# Enable authentication on all OpenFaaS core components.
# You must not turn off basic_auth for the chart, however, you can pre-create the
# secret, if you're using a GitOps tool to create a stable secret
# before installing OpenFaaS Pro via this chart
generateBasicAuth: true
# Follow docs at: https://docs.openfaas.com/openfaas-pro/dashboard/
# for setting up the new dashboard
dashboard:
publicURL: localhost
enabled: true
# The autoscaler is enabled by default
# Learn more:
# https://docs.openfaas.com/architecture/autoscaling/
autoscaler:
enabled: true
# Set to "true" to learn how the autoscaler works, both for horizonal Pod scaling
# and for scaling to zero.
# The Grafana dashboards can be used in combination to see the effect of the
# autoscaler: https://docs.openfaas.com/openfaas-pro/grafana-dashboards/
verbose: false
# A cluster role is required for OpenFaaS Pro due to:
# 1) Autoscaling and metrics for functions - CPU / RAM
# 2) Multiple namespace support
# https://docs.openfaas.com/reference/namespaces/
clusterRole: true
# 3x replicas are recommended for production
# 1x is recommended for staging and development
gateway:
replicas: 3
# Required gateway configuration for Istio
# directFunctions: true
# probeFunctions: true
# replicas x maxInflight = max concurrent messages processed.
# 75 concurrent requests will be processed, 25 per queueWorker
queueWorker:
replicas: 3
queueWorkerPro:
maxInflight: 50
# Enable JetStream for OpenFaaS, learn more at:
# https://www.openfaas.com/blog/jetstream-for-openfaas/
queueMode: jetstream
# Set stream replication factor.
# For production a value of at least 3 is recommended for NATS JetStream to be resilient.
# See https://github.com/openfaas/openfaas-pro/blob/master/jetstream.md
nats:
streamReplication: 1
# For timeouts longer than 60 seconds see:
# https://docs.openfaas.com/tutorials/expanded-timeouts/
# securityContext applied to the OpenFaaS components deployed by this chart
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001